Friday, September 14, 2012

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



Situation: The apache error log show this error:

(22)Invalid argument: couldn't grab the accept mutex
(22)Invalid argument: couldn't grab the accept mutex
(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


No comments:

Post a Comment