Re: getting message from "::1" and seems processes get killed.

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

 



Thank you for the quick response.

I understand the reason I don't see "internal dummy connection"
message in the log. (now I do.)
Let me explain the detail what's heppeing with my setting below.
---
<IfModule mpm_prefork_module>
   StartServers         10
   MinSpareServers       10
   MaxSpareServers      20
   MaxClients           30
   MaxRequestsPerChild   0
</IfModule>
---

What's heppening is parent process seems killing too many child processes
even though MinSpareServers set to 10.
(sometimes having only 5 children and it's less than MinSpareServers)

Is it a strange behavior ?

And it's not happening in the development environment.(kernel 2.4)
It might be from kernel ?

Now I read the source and I set MaxSpareServers to 30 (same as MaxClients),
then no more "internal dummy connection" is coming,
because idle_count will never be more than the MaxClients.

server/mpm/prefork/prefork.c (830:837)
---
   if (idle_count > ap_daemons_max_free) {
       /* kill off one child... we use the pod because that'll cause it to
        * shut down gracefully, in case it happened to pick up a request
        * while we were counting
        */
       ap_mpm_pod_signal(pod); // killing children, but how many ?
       idle_spawn_rate = 1;
   }
---

idle_count is counted wrong in kernel 2.6 ?




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



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-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