Re: Question about apache2.4, prefork and mod_perl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 13, 2017 at 10:10 AM, Norbert <ngrundma@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux