Apache Error : [emerg] (28)No space left on device: mod_fcgid: Can't create global fcgid-proctbl mutex

By BXTra |

My server run DirectAdmin with mod_fcgid installed. After I tuned MySQL. I, then, restarted both httpd and MySQL service. Both services started without any problem but I can't access my website at all. After I checked my Apache Error log, I found an error which said :

[emerg] (28)No space left on device: mod_fcgid: Can't create global fcgid-proctbl mutex

After search around how to fix this problem, I believe it's something about IPCS. Try run in your SSH :

ipcs -a

You will see a lot of Apache shows up even there is no Apache service running. (Well, don't ask me what IPCS is, I don't know.) However, I found one website that suggest method how to fix this problem and it really worked. Here, I will copy from that source but change # to | as it should be.

1. Check for semaphore-arrays owned by your apache-user (assuming user apache)

ipcs -s | grep apache

2. Removing the semaphores should immediately solve the problem.

ipcs -s | grep apache | perl -e 'while () { @a=split(/\s+/); print `ipcrm sem $a[1]`}'

3. Until this step, my problem is still there. So, I tried the last step below :

for i in `ipcs -s | grep apache | awk '{print $2}'` ; do ipcrm -s $i; done

The problem solved. I can restart Apache and no more problem with it :)

If you want to check the different, try to run below command again :

ipcs -a


Updated (2012.05.31) :

I just got an error below with Apache 2.4.2 and followed step 3 above to fix it.

[Thu May 31 09:11:02.062551 2012] [core:emerg] [pid 28508:tid 47470981802160] (28)No space left on device: AH00023: Couldn't create the ssl-cache mutex 
AH00016: Configuration Failed


Source : http://www.ehow.com/how_4397601_error-no-space-left-device.html

Add new comment

  • No HTML tags allowed.
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.