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

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

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

Add new comment

Filtered HTML

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h2> <pre> <br /> <img> <center>
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or class="OPTIONS" [title="the title"].
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.