Ok. Thanks Joshua. I should have mentioned that we're using Apache 1.3,
so I presume it's the same concept? 
Cheers, Craig

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua
Slive
Sent: Thursday, 11 October 2007 9:57 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] MaxRequestsPerChild and number of accesses
reported in server-status

On 10/10/07, Robinson Craig <[EMAIL PROTECTED]> wrote:
> Hi Folks,
>
> I'm a bit confused about the effects of changing the 
> MaxRequestsPerChild directive.
>
> I previously had MaxRequestsPerChild set to "0" which, as I have 
> always understood, means that there is no maximum. Last night I 
> changed the config to:
>
> MaxRequestsPerChild 100
>
> And about an hour after a "hard" restart of Apache, I get the 
> following as an example of a typical server-status for the first 3
processes:
>
> Srv  PID     Acc   M...etc
> 0-0 6702 0/191/828 W...etc
> 1-0 6735 1/210/780 K...etc
> 2-0 6736 5/205/844 K...etc
>
> As I understand, the "Acc" column is made up of: # accesses per 
> connection/child/slot. Yet, the number of "Accesses" per each child is

> reported as > 100. I would have thought that setting 
> MaxRequestsPerChild to 100 means that the process would be terminated 
> after 100 requests (or "accesses"), so that this number should never
exceed 100.
>
> Can anyone shed any light on this?

As the docs say
http://httpd.apache.org/docs/2.2/mod/mpm_common.html#maxrequestsperchild
MaxRequestsPerChild is actually a miss-named MaxConnectionsPerChild

Joshua

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


************************************************************************
The information in this email together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.
Any form of review, disclosure, modification, distribution
and/or publication of this email message is prohibited, unless
as a necessary part of Departmental business.
If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.
************************************************************************


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to