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 
AcceptMutex fcntl

Run apache distiller

/usr/local/cpanel/bin/apache_conf_distiller –update –main
/scripts/rebuildhttpdconf
/etc/init.d/httpd graceful

Leave a Reply

Your email address will not be published. Required fields are marked *