httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] MaxRequestsPerChild for worker mpm
Date Tue, 02 Nov 2010 18:05:58 GMT
On Tue, Nov 2, 2010 at 12:17 PM, alin vasile <alinachegalati@yahoo.com> wrote:
> After some debugging it proves that the configuration directive is correctly
> recognized by httpd. When we are logging the following variable in a module for
> each request :
>
>  char *id = apr_psprintf(r->pool, "%" APR_PID_T_FMT "-%d", getpid(),
> apr_atomic_inc32(&next_id));
>
> there are around 3- 4 thousands occurrences for each pid, below the max setting
> of 100,000.
>

It's actually max connections per child, but that makes your results
even more wrong.

>   MaxSpareThreads      30

Maybe they die due to MaxSpareThreads though.  Try setting it equal to
MaxClients.

>
>
>
> ----- Original Message ----
> From: alin vasile <alinachegalati@yahoo.com>
> To: users@httpd.apache.org
> Sent: Tue, November 2, 2010 5:18:56 PM
> Subject: Re: [users@httpd] MaxRequestsPerChild for worker mpm
>
> It is worker...
>
> ./httpd -l
> Compiled in modules:
>  core.c
>  mod_authn_file.c
>  mod_authn_default.c
>  mod_authz_host.c
>  mod_authz_groupfile.c
>  mod_authz_user.c
>  mod_authz_default.c
>  mod_auth_basic.c
>  mod_include.c
>  mod_filter.c
>  mod_log_config.c
>  mod_env.c
>  mod_setenvif.c
>  mod_version.c
>  worker.c
>  http_core.c
>  mod_mime.c
>  mod_status.c
>  mod_autoindex.c
>  mod_asis.c
>  mod_cgid.c
>  mod_negotiation.c
>  mod_dir.c
>  mod_actions.c
>  mod_userdir.c
>  mod_alias.c
>  mod_so.c
>
>
>
>
>
> ----- Original Message ----
> From: Tom Evans <tevans.uk@googlemail.com>
> To: users@httpd.apache.org
> Sent: Tue, November 2, 2010 5:05:16 PM
> Subject: Re: [users@httpd] MaxRequestsPerChild for worker mpm
>
> On Tue, Nov 2, 2010 at 1:10 PM, alin vasile <alinachegalati@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 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: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> 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: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> 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: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message