httpd dummy connections

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

 



sorry about the no subject. apologies.. 

On Wed, Mar 18, 2015 at 8:11 PM, el kalin <kalin@xxxxxx> wrote:

hi all… recently upgraded to 2.4.12. i know that the server creates this awesome "dummy" processes when it needed to be ready and handle requests. that's all good and well. 

question is: shouldn't those die when there hasn't been much happening for a while and keeping a lot of them "just in case" is not needed that badly?

the lines at the bottom of this message are form the server-status output. the number of those lines eventually grows but it never goes down. which is weird, right? … i know…. 

also how come the number of those extra processes doesn't match the one from 
ps -auwx | grep httpd?

my guess is that the "dummy" connections (since they don't have their own process attached to them) are there because some of the other processes that do show in ps ask for those at various stages. is it true? how would i know which one asked? does it matter?

i've experienced some issues where the (open?!) "dummy" connections become so many that the server stops responding but the ps -auwx | grep httpd shows just 10 processes or so running. after restart everything goes back to normal. except i'm not always there to restart… 

so one though i had about this is that in my httpd-mpm file the only loaded module is mpm_prefork_module. which has this in it's scope (default values):

    StartServers             5
    MinSpareServers          5
    MaxSpareServers         10
    MaxRequestWorkers      250
    MaxConnectionsPerChild   0

is it reasonable to believe that MaxConnectionsPerChild should have some reasonable limit? will this control how many "dummy" connections are kept alive?


thanks… 


27-0 - 0/0/3 . 0.00 2895 0 0.0 0.00 0.00 127.0.0.1 my.domain.com:80 OPTIONS * HTTP/1.0
28-0 - 0/0/10 . 0.02 2829 0 0.0 0.00 0.85 127.0.0.1 my.domain.com:80 OPTIONS * HTTP/1.0
29-0 - 0/0/2 . 0.00 2893 0 0.0 0.00 0.00 127.0.0.1 my.domain.com:80 OPTIONS * HTTP/1.0
30-0 - 0/0/2 . 0.00 2884 0 0.0 0.00 0.00 127.0.0.1 my.domain.com:80 OPTIONS * HTTP/1.0
31-0 - 0/0/2 . 0.00 2894 0 0.0 0.00 0.00 127.0.0.1 my.domain.com:80 OPTIONS * HTTP/1.0
32-0 - 0/0/8 . 0.03 2719 0 0.0 0.00 0.50 127.0.0.1 my.domain.com:80 OPTIONS * HTTP/1.0
33-0 - 0/0/1 . 0.00 2890 0 0.0 0.00 0.00 127.0.0.1 my.domain.com:80 OPTIONS * HTTP/1.0
34-0 - 0/0/1 . 0.00 2869 0 0.0 0.00 0.00 127.0.0.1 my.domain.com:80 OPTIONS * HTTP/1.0
35-0 - 0/0/1 . 0.00 2888 0 0.0 0.00 0.00 127.0.0.1 my.domain.com:80 OPTIONS * HTTP/1.0
36-0 - 0/0/1 . 0.00 2882 0 0.0 0.00 0.00 127.0.0.1 my.domain.com:80 OPTIONS * HTTP/1.0


[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