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 it will. Quote: ---8<--- The StartServers directiv

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 it will. Quote: ---8<--- The StartServers directive sets the number of child server processes

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

2010-11-26 Thread alin vasile
Got it now, is pretty clear. - Original Message From: Igor Galić To: users@httpd.apache.org Sent: Fri, November 26, 2010 5:56:42 PM Subject: Re: [us...@httpd] MaxRequestsPerChild for worker mpm - "alin vasile" wrote: > This is what we followed in our

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

2010-11-26 Thread Igor Galić
- "alin vasile" 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 want: MaxCl

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ć To: users@httpd.apache.org Sent: Fri, November 26, 2010 2:48:19 PM Subject: Re: [us...@httpd] MaxRequestsPerChild for worker mpm - "

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

2010-11-26 Thread Igor Galić
- "alin vasile" 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 worker MPM, t

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-25 Thread Igor Galić
- "alin vasile" 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 > directive? For Ma

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

2010-11-25 Thread alin vasile
ovener 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 wrote: > After some debugging it proves that the configuration directive is correctly > recognized by httpd.

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

2010-11-02 Thread alin vasile
to the same behaviour, but this time 3 child processes are not being restarted. - Original Message From: Eric Covener 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, a

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

2010-11-02 Thread Eric Covener
> MaxSpareThreads 30 Maybe they die due to MaxSpareThreads though. Try setting it equal to MaxClients. > > > > - Original Message > From: alin vasile > To: users@httpd.apache.org > Sent: Tue, November 2, 2010 5:18:56 PM > Subject: Re: [us...@htt

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

2010-11-02 Thread alin vasile
d)); there are around 3- 4 thousands occurrences for each pid, below the max setting of 100,000. - Original Message From: alin vasile 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... ./h

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

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

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

2010-11-02 Thread Tom Evans
On Tue, Nov 2, 2010 at 1:10 PM, alin vasile 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 User-To-User support forum of

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 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 wrote: > Hi, > >

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

2010-11-02 Thread Eric Covener
On Tue, Nov 2, 2010 at 8:57 AM, alin vasile 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 > >    MaxRequestsPerChild  10 > ifModule is no-oping that stanza sin

[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 Kee