skip to main
|
skip to sidebar
Another nerdy blog
Thursday, April 1, 2010
bash oneliner to clear out apache httpd semaphores
If your seeing the following error message in your apache error logs
[emerg] (28)No space left on device: Couldn't create accept lock
You probably need to clear out some stale httpd semaphores. The following oneliner will do that for you.
ipcs -s | grep apache | perl -e 'while (
) { @a=split(/\s+/); print `ipcrm sem $a[1]`}'
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
Subscribe To
Posts
Atom
Posts
All Comments
Atom
All Comments
Blog Archive
►
2011
(1)
►
January
(1)
▼
2010
(10)
►
August
(1)
►
July
(1)
▼
April
(1)
bash oneliner to clear out apache httpd semaphores
►
March
(1)
►
February
(2)
►
January
(4)
►
2009
(54)
►
December
(2)
►
November
(1)
►
October
(6)
►
September
(17)
►
August
(7)
►
July
(1)
►
June
(2)
►
April
(2)
►
March
(8)
►
February
(5)
►
January
(3)
►
2008
(40)
►
December
(5)
►
November
(1)
►
September
(34)
About Me
Jesse
View my complete profile