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 2008/01/11 20:52:23 UTC
DO NOT REPLY [Bug 44213] New: - /etc/init.d/apache2 greps excessively for PidFile
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44213>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44213
Summary: /etc/init.d/apache2 greps excessively for PidFile
Product: Apache httpd-2
Version: 2.0-HEAD
Platform: Other
URL: http://bugs.launchpad.net/debian/+source/apache2/+bug/11
2991
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: All
AssignedTo: bugs@httpd.apache.org
ReportedBy: nvalcarcel@ubuntu-pe.org
/etc/init.d/apache2 does a "grep ^PidFile /etc/apache2/* -r". It is not uncommon
for there to exist a symlink from /etc/apache2/logs to /var/log/apache2: this
causes that invocation of grep to scan through all of Apache's log files. On my
web server there are several gigabytes of these, causing "/etc/init.d/apache2
stop" during shutdown to take a very long time.
I suggest not following symlinks, for starters, using something like this
instead perhaps:
find /etc/apache2/ -type f -print0 | xargs -0 grep ^PidFile
Or ideally being more intelligent about which files to look at, e.g. *.conf...
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 44213] - /etc/init.d/apache2 greps excessively for PidFile
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44213>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44213
rpluem@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From rpluem@apache.org 2008-01-11 14:15 -------
/etc/init.d/apache2 is not part of the original httpd. It was created by your
httpd distributor most likely your Linux distributor. Please open a bug report
at your Linux distributor.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org