Bug 98545
Summary: | Handle errors when starting piped logged processes | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Oliver Graf <oliver> | ||||||
Component: | httpd | Assignee: | Joe Orton <jorton> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 9 | ||||||||
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: | 2003-09-04 07:40:27 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: | |||||||||
Attachments: |
|
Description
Oliver Graf
2003-07-03 14:56:18 UTC
Created attachment 92737 [details]
/etc/httpd/conf/httpd.conf
Created attachment 92738 [details]
One of the virtual host files which are included by /etc/httpd/conf/virtual.conf (see last line of httpd.conf)
You have "MaxClients" set to 150, so I'd expect a maximum of 150 processes to be spawned if your server is under load. If you want to have a maximum of 100 processes, use MaxClients 100 in the prefork.c section. Indeed, there will be only 100 processes. But the same happens again: When Apache reaches 100 processes, it is unable to serve pages. I reduced MaxServers to 50, and Apache hangs when it reaches 50 processes. Ah, can you try changing in your virtual.conf (and anywhere else you are using rotatelogs) from: TransferLog "|rotatelogs to TransferLog "|/usr/sbin/rotatelogs there is a bug in the error handling when a piped logs process fails to start up. (if you're migrating an httpd.conf from 1.3 you should also read through the migration guide at /usr/share/doc/httpd-2.0.40/migration.html) That's it! Thanks a lot. You can close this bug. OK, great. I'm going to leave this bug open to track the fact that this config error was not clearly diagnosed when it should have been, so that can be fixed in a future erratum. Thanks for the report. An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2003-240.html |