Random ...
 
December 2017
S M T W T F S
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Tags ...
Links



Linux++:::: Quicky: apache b0rking with "Couldn't create accept lock"
Posted at 09.Feb,2007 10:15  Comments 0 / Trackbacks 0 / Like this post!
Technorati tag(s):

One of my apaches refused to start. It kept complaining about "[emerg] (28)No space left on device:Couldn't create accept lock".

df -h showed verything was ok. turned out that apache really is running out of semaphores.

Here's how to check:

 ipcs -s

Now, how do we remove the tied up semaphores? Use this:

 for semid in `ipcs -s | grep apache | cut -f2 -d" "`; do ipcrm -s $semid; done

Now, I can start my apache.

More


Bookmark and Share

Is this entry helpful? Comments/Donate/Click some google ads.  
Trackback is http://myzope.kedai.com.my/blogs/kedai/119/tbping 

Comments
Post a comment