Re: Question about apache2.4, prefork and mod_perl

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

 



Hi,

On Wed, Sep 13, 2017 at 9:11 AM, Norbert <ngrundma@xxxxxxxxxxxxxxx> wrote:
>
> So: I am running apache 2.4 (on FreeBSD 11), use mod_perl and prefork.  When
> the server starts it creates several httpd processes all running under root.
> This is ok.  When a request arrives it creates subprocesses with the user
> www:www (80:80) - everything ok.  But now the question: why are the
> processes with www:www user terminated after a short time / request?
> Meaning: if I wait a short time, the mod_perl modules have allways been
> "reinitailized", as far as I can so from my debugging output. Is there a way
> to keep a fixed number of processes under www:www running - at least for
> hours?  I hope I could explain...

Please have a look at http://httpd.apache.org/docs/2.4/fr/mod/prefork.html.

The relevant directives are MinSpareServers and MaxSpareServers for
the number of running processes, and MaxConnectionsPerChild for their
lifetime.


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