>Number:         1401
>Category:       os-linux
>Synopsis:       httpd fails to release port 80 completely when HUP is sent
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Nov 11 22:20:00 PST 1997
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.1.3
>Environment:
RedHat Linux 4.2 (out of the box)

Linux 2.0.30 #1 Tue Apr 22 10:49:45 EDT 1997 i586 unknown
>Description:
Myself and other RedHat admins have noticed problems occasionally when 
/etc/logrotate.d/apache runs to rotate logs. It does a "killall -HUP httpd"
and ends up sometimes generating "error: cannot bind to port 80" errors.

Subsequent instability of server daemon (due to race conditions?) is
also observed (http requests fail while httpd is still running). ps listing
reveals that the process is taking up an inordinate amoung of CPU cycles
(as high as 92% utilization pegged out)
>How-To-Repeat:
Cannot reliably replicate, but have replicated the problem manually by
running "killall -HUP httpd" from shell prompt. Occurs around 10% of the
time when manually run.
>Fix:
Am trying upgrading to 1.2.4 server. A hack might be to add some sort of delay
between logs being rotated and HUP signalling?
%0
>Audit-Trail:
>Unformatted:

Reply via email to