httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: [users@httpd] Question about apache2.4, prefork and mod_perl
Date Wed, 13 Sep 2017 11:08:01 GMT
On Wed, Sep 13, 2017 at 10:10 AM, Norbert <ngrundma@uni-muenster.de> wrote:
> Thanks, I set (on my testmachine):
>
> <IfModule mpm_prefork_module>
>     MinSpareServers 4
>     MaxSpareServers 4
>     MaxConnectionsPerChild 100000
> </IfModule>
>
> but nothing changes -  the httpd processes with user www:www appear and
> disappear in top after seconds...

We the above, there should be at least 4 processes that don't
disappear before 100000 handling
100000 connections.

But if more/other processes are created because of the load, they
would be recycled as soon as the load decreases.


What do you observe with the below ?

<IfModule mpm_prefork_module>
    StartServers            4
    ServerLimit             80
    MinSpareServers         4
    MaxSpareServers         40
    MaxRequestWorkers       80
    MaxConnectionsPerChild  0
</IfModule>


Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message