|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
MaxRequestsPerChild doesn't seem to be working properly when keep-alive
is enabled or probably I am missing something. Let me explain you the scenario. I have a telephony application which uses dyanmically generated voicexml pages from Apache webserver and C++ module. Due to memory leakse, we need to recycle apache process after certain number of calls. Each call is nothing but multiple HTTP requests with persistent connection (Keep-Alive). The problem is as soon as it reaches the MaxRequestPerChild, apache recycles the process insted of waiting for all sessions to be closed by client. |
|
|
|
#2 (permalink) |
|
Messages: n/a
Hébergeur: |
<rohit.c.joshi@gmail.com> schreef in bericht
news:1160712864.680057.44160@i42g2000cwa.googlegro ups.com... > MaxRequestsPerChild doesn't seem to be working properly when keep-alive > is enabled or probably I am missing something. > > Let me explain you the scenario. > > I have a telephony application which uses dyanmically generated > voicexml pages from Apache webserver and C++ module. Due to memory > leakse, we need to recycle apache process after certain number of > calls. Each call is nothing but multiple HTTP requests with persistent > connection (Keep-Alive). The problem is as soon as it reaches the > MaxRequestPerChild, apache recycles the process insted of waiting for > all sessions to be closed by client. > Does the client use HTTP/1.1 requests or HTTP/1.0 with KeepAlive header? Are requests proxied, forward or reverse? Which redistribution and version of Apache, if 2.x which mpm, is in use? Please specify OS type and OS (kernel)version too. HansH |
|
|
|
#3 (permalink) |
|
Messages: n/a
Hébergeur: |
I use Apache 2.0.40 with mpm worker configuration on Redhat 7.3 Linux.
On Oct 13, 3:33 am, "HansH" <h...@niet.op.het.net> wrote: > <rohit.c.jo...@gmail.com> schreef in berichtnews:1160712864.680057.44160@i42g2000cwa.go oglegroups.com...> MaxRequestsPerChild doesn't seem to be working properly when keep-alive > > is enabled or probably I am missing something. > > > Let me explain you the scenario. > > > I have a telephony application which uses dyanmically generated > > voicexml pages from Apache webserver and C++ module. Due to memory > > leakse, we need to recycle apache process after certain number of > > calls. Each call is nothing but multiple HTTP requests with persistent > > connection (Keep-Alive). The problem is as soon as it reaches the > > MaxRequestPerChild, apache recycles the process insted of waiting for > > all sessions to be closed by client.Does the client use HTTP/1.1 requests or HTTP/1.0 with KeepAlive header? > Are requests proxied, forward or reverse? > Which redistribution and version of Apache, if 2.x which mpm, is in use? > Please specify OS type and OS (kernel)version too. > > HansH |
|
|
|
#4 (permalink) |
|
Messages: n/a
Hébergeur: |
HTTP/1.1 requests with KeepAlive is used.
On Oct 13, 3:33 am, "HansH" <h...@niet.op.het.net> wrote: > <rohit.c.jo...@gmail.com> schreef in berichtnews:1160712864.680057.44160@i42g2000cwa.go oglegroups.com...> MaxRequestsPerChild doesn't seem to be working properly when keep-alive > > is enabled or probably I am missing something. > > > Let me explain you the scenario. > > > I have a telephony application which uses dyanmically generated > > voicexml pages from Apache webserver and C++ module. Due to memory > > leakse, we need to recycle apache process after certain number of > > calls. Each call is nothing but multiple HTTP requests with persistent > > connection (Keep-Alive). The problem is as soon as it reaches the > > MaxRequestPerChild, apache recycles the process insted of waiting for > > all sessions to be closed by client.Does the client use HTTP/1.1 requests or HTTP/1.0 with KeepAlive header? > Are requests proxied, forward or reverse? > Which redistribution and version of Apache, if 2.x which mpm, is in use? > Please specify OS type and OS (kernel)version too. > > HansH |
|
![]() |
| Outils de la discussion | |
|
|