Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Apache crashing Invalid argument: couldn't grab the accept mutex.  (Read 3361 times)

0 Members and 1 Guest are viewing this topic.

Aby

  • Guest

Apache crashing Invalid argument: couldn't grab the accept mutex

Situation: The apache error log show this error:

[Tue Jan 17 11:02:08 2012] [emerg] (22)Invalid argument: couldn't grab the accept mutex
[Tue Jan 17 11:02:08 2012] [emerg] (22)Invalid argument: couldn't grab the accept mutex
[Tue Jan 17 11:02:08 2012] [emerg] (22)Invalid argument: couldn't grab the accept mutex
[Tue Jan 17 11:02:09 2012] [emerg] (22)Invalid argument: couldn't grab the accept mutex
[Tue Jan 17 11:02:10 2012] [emerg] (22)Invalid argument: couldn't grab the accept mutex
[Tue Jan 17 11:02:10 2012] [emerg] (22)Invalid argument: couldn't grab the accept mutex
[Tue Jan 17 11:02:11 2012] [emerg] (22)Invalid argument: couldn't grab the accept mutex
[Tue Jan 17 11:02:14 2012] [emerg] (22)Invalid argument: couldn't grab the accept mutex
[Tue Jan 17 11:02:14 2012] [emerg] (22)Invalid argument: couldn't grab the accept mutex
[Tue Jan 17 11:02:14 2012] [emerg] (22)Invalid argument: couldn't grab the accept mutex

===
Solution:

Typically, these type of errors occur on systems low on memory or file handlers.
Of note, one suggested resolution for the error message would be to try adding the following line to

/usr/local/apache/conf/httpd.conf file:

AcceptMutex fcntl

Run apache distiller
/usr/local/cpanel/bin/apache_conf_distiller --update --main
/scripts/rebuildhttpdconf
/etc/init.d/httpd graceful
===