Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145596 - apache2 does not always shut down in a timely manner
Summary: apache2 does not always shut down in a timely manner
Status: RESOLVED DUPLICATE of bug 110556
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-30 06:34 UTC by Kai Krakow
Modified: 2006-08-30 06:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to check apache2 shutdown state /etc/init.d/apache2 (initd-apache2-patch.diff,1.03 KB, patch)
2006-08-30 06:37 UTC, Kai Krakow
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Krakow 2006-08-30 06:34:32 UTC
"/etc/init.d/apache2 restart" can become totally confused about apache2's state if apache2 does not shutdown fast enough. "apache2 -k stop" can return before apache2 is fully stopped. The following patch fixes this behaviour by ensuring that apache2 has no processes left running.

As I am no gentoo runscript.sh expert, there are some todos left but it should give the clue and is in productive usage on our servers.
Comment 1 Kai Krakow 2006-08-30 06:37:26 UTC
Created attachment 95480 [details, diff]
patch to check apache2 shutdown state /etc/init.d/apache2
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-30 06:58:25 UTC

*** This bug has been marked as a duplicate of 110556 ***