Bug 34230
Summary: | Apache rendomly dies | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Need Real Name <mal> |
Component: | apache | Assignee: | Nalin Dahyabhai <nalin> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-04-04 18:00:25 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Need Real Name
2001-03-31 18:26:50 UTC
This problem seems to be related to restarting the server. First, multiple HUP signals from /etc/logrotate.d/apache may easily kill the server. (when next -HUP is delivered when first -HUP is is still processing) Second from time to time a SINGLE HUP signal kills the apache. This is a command which sometime JUST KILLS apache when executed manually. kill -HUP `cat /var/run/httpd.pid` Another thing I would recommend to change in /etc/logrotate.d/apache is to replace multiple entries by a single one like /var/log/httpd/access_log /var/log/httpd/error_log /var/log/httpd/agent_log /var/log/httpd/referer_log { missingok sharedscripts postrotate /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true endscript endscript } This will prevent killing apache by delivering multiple -HUP signals Thanks! This'll be integrated into apache-1.3.19-6 and later. |