User Tools

Site Tools


when_apache_runs_out_of_semaphores

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
when_apache_runs_out_of_semaphores [2009/03/16 04:24]
adam created
when_apache_runs_out_of_semaphores [2016/11/25 22:38] (current)
Line 1: Line 1:
 ===== What to Do When Apache Runs Out of Semaphores ===== ===== What to Do When Apache Runs Out of Semaphores =====
  
-Taken from [http://bergie.iki.fi/blog/if-your-apache-ever-runs-out-of-semaphores---/]+Taken from [[http://bergie.iki.fi/blog/if-your-apache-ever-runs-out-of-semaphores---/]]
  
-If you get this error message when trying to start Apache, then you're out of [http://en.wikipedia.org/wiki/Semaphore_(programming)|semaphores]:+If you get this error message when trying to start Apache, then you're out of [[http://en.wikipedia.org/wiki/Semaphore_(programming)|semaphores]]:
  
-# apachectl start +  #apachectl start 
-Ouch! ap_mm_create(1048576, "/var/run/httpd.mm.22903") failed +  Ouch! ap_mm_create(1048576, "/var/run/httpd.mm.22903") failed 
-Error: MM: mm:core: failed to acquire semaphore (No space left on device): OS: Invalid argument +  Error: MM: mm:core: failed to acquire semaphore (No space left on device): OS: Invalid argument 
-/usr/sbin/apachectl start: httpd could not be started+  /usr/sbin/apachectl start: httpd could not be started
  
 The easy fix is to just remove all semaphores owned by Apache: The easy fix is to just remove all semaphores owned by Apache:
Line 14: Line 14:
 # /usr/bin/ipcrm sem $(/usr/bin/ipcs -s | grep apache | awk '{print$2}') # /usr/bin/ipcrm sem $(/usr/bin/ipcs -s | grep apache | awk '{print$2}')
  
-Got the fix from [http://forums.cacti.net/about675.html|cacti forum].+Got the fix from [[http://forums.cacti.net/about675.html|cacti forum]].
  
when_apache_runs_out_of_semaphores.1237177442.txt.gz · Last modified: 2016/11/25 22:38 (external edit)