Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-12-01 Thread Rainer Jung
On 26.11.2010 19:20, Jonas Eckerman wrote: On 2010-11-25 15:28, Igor Galić wrote: Worker MPM will *never* spawn more than StartServers children. According to the docs at http://httpd.apache.org/docs/current/mod/mpm_common.html#startservers it will. Quote: ---8--- The StartServers directive

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-26 Thread alin vasile
Worker MPM will *never* spawn more than StartServers children. Can you detail this? Because I was aware that the maximum limit was given by ServerLimit. - The official User-To-User support forum of the Apache HTTP

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-26 Thread Igor Galić
- alin vasile alinachegal...@yahoo.com wrote: Worker MPM will *never* spawn more than StartServers children. Can you detail this? Because I was aware that the maximum limit was given by ServerLimit. No. http://httpd.apache.org/docs/current/mod/mpm_common.html#serverlimit For the

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-26 Thread alin vasile
This is what we followed in our configuration: ServerLimit 40 ThreadsPerChild 15 MaxClients 600 = 40 * 15 - Original Message From: Igor Galić i.ga...@brainsware.org To: users@httpd.apache.org Sent: Fri, November 26, 2010 2:48:19 PM Subject: Re: [us...@httpd] MaxRequestsPerChild

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-26 Thread Igor Galić
- alin vasile alinachegal...@yahoo.com wrote: This is what we followed in our configuration: ServerLimit 40 O_o? ThreadsPerChild 15 MaxClients 600 = 40 * 15 Lets see how that compares to what I wrote two mails back: 75 MaxSpareThreads * 2 StartServers == 150 MaxClients So, you

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-26 Thread Jonas Eckerman
On 2010-11-25 15:28, Igor Galić wrote: Worker MPM will *never* spawn more than StartServers children. According to the docs at http://httpd.apache.org/docs/current/mod/mpm_common.html#startservers it will. Quote: ---8--- The StartServers directive sets the number of child server processes

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-25 Thread alin vasile
cove...@gmail.com To: users@httpd.apache.org Sent: Tue, November 2, 2010 8:05:58 PM Subject: Re: [us...@httpd] MaxRequestsPerChild for worker mpm On Tue, Nov 2, 2010 at 12:17 PM, alin vasile alinachegal...@yahoo.com wrote: After some debugging it proves that the configuration directive is correctly

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-25 Thread Igor Galić
- alin vasile alinachegal...@yahoo.com wrote: Maybe they die due to MaxSpareThreads though. Try setting it equal to MaxClients. Thanks Eric, I put MaxSpareThreads to be 15% of MaxClients and changed the restarting behaviour. Is there a formula or some guidelines for this

[us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-02 Thread alin vasile
Hi, We're noticing that the value provided for MaxRequestsPerChild is not picked up by httpd, but somehow the default value of 10,000 is used. We can see this because each request logs the pid and the request number that served it. httpd: 2.2.15 mpm: prefork Configuration: KeepAlive On

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-02 Thread Eric Covener
On Tue, Nov 2, 2010 at 8:57 AM, alin vasile alinachegal...@yahoo.com wrote: Hi,   We're noticing that the value provided for MaxRequestsPerChild is not picked up by httpd, but somehow the default value of 10,000 is used. mpm: prefork IfModule mpm_worker_module    MaxRequestsPerChild  

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-02 Thread alin vasile
sorry, my bad here. we are using the worker mpm. - Original Message From: Eric Covener cove...@gmail.com To: users@httpd.apache.org Sent: Tue, November 2, 2010 3:06:07 PM Subject: Re: [us...@httpd] MaxRequestsPerChild for worker mpm On Tue, Nov 2, 2010 at 8:57 AM, alin vasile

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-02 Thread Tom Evans
On Tue, Nov 2, 2010 at 1:10 PM, alin vasile alinachegal...@yahoo.com wrote: sorry, my bad here. we are using the worker mpm. Your original message said you were using prefork. httpd -l to confirm please. - The official

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-02 Thread alin vasile
, November 2, 2010 5:05:16 PM Subject: Re: [us...@httpd] MaxRequestsPerChild for worker mpm On Tue, Nov 2, 2010 at 1:10 PM, alin vasile alinachegal...@yahoo.com wrote: sorry, my bad here. we are using the worker mpm. Your original message said you were using prefork. httpd -l to confirm please

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-02 Thread alin vasile
thousands occurrences for each pid, below the max setting of 100,000. - Original Message From: alin vasile alinachegal...@yahoo.com To: users@httpd.apache.org Sent: Tue, November 2, 2010 5:18:56 PM Subject: Re: [us...@httpd] MaxRequestsPerChild for worker mpm It is worker... ./httpd -l

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-02 Thread Eric Covener
to MaxSpareThreads though. Try setting it equal to MaxClients. - Original Message From: alin vasile alinachegal...@yahoo.com To: users@httpd.apache.org Sent: Tue, November 2, 2010 5:18:56 PM Subject: Re: [us...@httpd] MaxRequestsPerChild for worker mpm It is worker... ./httpd -l Compiled

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-02 Thread alin vasile
child processes are not being restarted. - Original Message From: Eric Covener cove...@gmail.com To: users@httpd.apache.org Sent: Tue, November 2, 2010 8:05:58 PM Subject: Re: [us...@httpd] MaxRequestsPerChild for worker mpm On Tue, Nov 2, 2010 at 12:17 PM, alin vasile alinachegal