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=21122>.
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=21122

apache becomes slow after 4am

           Summary: apache becomes slow after 4am
           Product: Apache httpd-2.0
           Version: 2.0.40
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: All
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Redhat 9, 2.4.20-18.9smp,
rpm -q httpd
httpd-2.0.40-21.3
httpd -v
Server version: Apache/2.0.40
Server built:   May 20 2003 10:15:29

This happens on 2 machines in the past 3 weeks. It has happened 4 or 5 times.
Each time after 4am, apache becomes very slow and our monitoring program reports
it cannot connect to port 80. Then a cron job tries to restart apache, but
fails. After a while(like 10 minutes), the connection to 80 seems ok, but 
loading
pages is extremely slow. "top" command also showed some strange stats. I usually
see one httpd process(memory usage around 7M), but when the problem occurred,
there are multiple HTTP processes displayed by top, and each of them uses about
9M bytes of memory. Once I restart apache(stop, and then start), things are 
back to normal.

I wonder if it has something to do with logrotate of apache, as logrotate is run
at 4:02am set by redhat. Does apache close the port temporarily during 
logrotate? 

some lines from error_log


[Thu Jun 26 04:02:06 2003] [notice] Digest: generating secret for digest
authentication ...
[Thu Jun 26 04:02:06 2003] [notice] Digest: done
[Thu Jun 26 04:02:07 2003] [notice] Apache configured -- resuming normal 
operations
[Thu Jun 26 04:02:16 2003] [warn] child process 24251 still did not exit,
sending a SIGTERM
[Thu Jun 26 04:02:33 2003] [warn] child process 24251 still did not exit,
sending a SIGTERM
[Thu Jun 26 04:03:40 2003] [warn] child process 24251 still did not exit,
sending a SIGTERM
[Thu Jun 26 04:08:08 2003] [error] child process 24251 still did not exit,
sending a SIGKILL
[Thu Jun 26 04:10:09 2003] [notice] SIGHUP received.  Attempting to restart
[Thu Jun 26 04:10:10 2003] [notice] Digest: generating secret for digest
authentication ...
[Thu Jun 26 04:10:10 2003] [notice] Digest: done
[Thu Jun 26 04:10:11 2003] [notice] Apache configured -- resuming normal 
operations

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to