You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/08/06 20:15:50 UTC

DO NOT REPLY [Bug 22186] New: - Solaris kernel 108528-05 causes Apache to hang

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22186>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22186

Solaris kernel 108528-05 causes Apache to hang

           Summary: Solaris kernel 108528-05 causes Apache to hang
           Product: Apache httpd-1.3
           Version: 1.3.28
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: chrisd@pearsoncmg.com


I'm submitting this bug even though we solved the problem, since it might
assist others in debugging their own systems.

Apache 1.3.27 or 1.3.28 (compiled with Sun C SPARC Version 6.000 compiler)
would hang every hour or so while running on Solaris 8 with kernel version
108528-05.  One of the child processes would seem to hang following an
accept() call, and then all child processes would cease serving requests.
The master process continued looping, waiting for a child to signal it.
Killing the child that showed the recent accept() call in its truss output
(the others would all show a recent fcntl() call) would allow the other
processes to proceed, answering all pending requests.

Upgrading to kernel version 108528-11 or higher solved the problem.  Exactly
which kernel release between -05 and -11 fixed the issue is uncertain;
we didn't test them all.  The old release that exhibited the problematic
behaviour:

SunOS foo 5.8 Generic_108528-05 sun4u sparc SUNW,UltraAX-i2

Working releases on various machines:

SunOS foo 5.8 Generic_108528-11 sun4u sparc SUNW,UltraAX-i2
SunOS foo 5.8 Generic_108528-23 sun4u sparc SUNW,UltraAX-i2

Patch notes from sun.com:

http://sunsolve.sun.com/pub-cgi/retrieve.pl?type=0&doc=fpatches%2F108528

These suggest that perhaps either bug #4337605 ("inetd Denial of Service
Attack - accept() hangs after successful select()") or #4253619 ("httpd
hangs doing a fork()") might be the source of the trouble.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org