https://bz.apache.org/bugzilla/show_bug.cgi?id=66004

            Bug ID: 66004
           Summary: Child processes disappears one by one with no web
                    access.
           Product: Apache httpd-2
           Version: 2.4.53
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mpm_event
          Assignee: bugs@httpd.apache.org
          Reporter: uni....@gmail.com
  Target Milestone: ---

Updated httpd to 2.4.53 from 2.4.51.

After several time reloads, child processes disappeared one by one with
following:

[Mon Apr 11 14:19:49.422912 2022] [mpm_event:debug] [pid 20759:tid
140355756119808] event.c(576): wake up listener


All child processes disappeared and only parent process survive, following is
logged every second:

[Mon Apr 11 14:29:25.195671 2022] [mpm_event:info] [pid 28925:tid
140356948518720] AH00486: server seems busy, (you may need to increase
StartServers, ThreadsPerChild or Min/MaxSpareThreads), spawning 0 children,
there are around 64 idle threads, 14 active children, and 14 children that are
shutting down
[Mon Apr 11 14:29:26.196818 2022] [mpm_event:info] [pid 28925:tid
140356948518720] AH00486: server seems busy, (you may need to increase
StartServers, ThreadsPerChild or Min/MaxSpareThreads), spawning 0 children,
there are around 64 idle threads, 14 active children, and 14 children that are
shutting down
[Mon Apr 11 14:29:27.197926 2022] [mpm_event:info] [pid 28925:tid
140356948518720] AH00486: server seems busy, (you may need to increase
StartServers, ThreadsPerChild or Min/MaxSpareThreads), spawning 0 children,
there are around 64 idle threads, 14 active children, and 14 children that are
shutting down

Reloading or stopping/starting httpd recovers from this situation.

This can be reproduce not only at production environment but also at the test
environment with no web accesses to httpd.

Can anyone please investigate and fix this.

///////////////////////////commands(RHEL)
systemctl stop httpd
systemctl start httpd
/usr/bin/systemctl reload httpd.service
/usr/bin/systemctl reload httpd.service
/usr/bin/systemctl reload httpd.service
/usr/bin/systemctl reload httpd.service
/usr/bin/systemctl reload httpd.service
(wait about 30 minutes)

///////////////////////////httpd-mpm.conf
<IfModule mpm_event_module>
    ServerLimit             10
    StartServers               4
    MinSpareThreads           75
    MaxSpareThreads          250
    ThreadsPerChild           64
    MaxRequestWorkers        640
    MaxConnectionsPerChild   300
</IfModule>

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to