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: [email protected] ReportedBy: [EMAIL PROTECTED] /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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
