如題,啟動一段時間後,進程數減少,最後剩10個左右,並報錯:
[emerg] (22)Invalid argument: couldn't grab the accept mutex
以前貌似也沒改過什麼,沒有出過問題。難道是最近訪問量大了造成的(httpd 進程數最高 800左右)?
StackOverflow 上有類似問題,另百度找到一些文章,主要有兩個方法:
MaxRequestsPerChild
參數設定問題;
添加一行 AcceptMutex posixsem
尚未嘗試,先來提問,等嘗試完了看看能不能解決。
看看有沒有遇到過這個問題的人。
參考:
Sf搜尋結果
apache的MaxRequestsPerChild指令設定不合理導致apache崩潰
求助!apache 不停的掛
Invalid argument: couldn't grab the accept mutex with apache
今天又出現這個問題了。。。50天后出現第二次。。。
[Wed Dec 09 10:12:33 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:35 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:35 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:35 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:35 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:36 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:37 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:39 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:41 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:56 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:13:04 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:14:58 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex
回複內容:
如題,啟動一段時間後,進程數減少,最後剩10個左右,並報錯:
[emerg] (22)Invalid argument: couldn't grab the accept mutex
以前貌似也沒改過什麼,沒有出過問題。難道是最近訪問量大了造成的(httpd 進程數最高 800左右)?
StackOverflow 上有類似問題,另百度找到一些文章,主要有兩個方法:
MaxRequestsPerChild
參數設定問題;
添加一行 AcceptMutex posixsem
尚未嘗試,先來提問,等嘗試完了看看能不能解決。
看看有沒有遇到過這個問題的人。
參考:
Sf搜尋結果
apache的MaxRequestsPerChild指令設定不合理導致apache崩潰
求助!apache 不停的掛
Invalid argument: couldn't grab the accept mutex with apache
今天又出現這個問題了。。。50天后出現第二次。。。
[Wed Dec 09 10:12:33 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:35 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:35 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:35 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:35 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:36 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:37 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:39 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:41 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:12:56 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:13:04 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex[Wed Dec 09 10:14:58 2015] [emerg] (22)Invalid argument: couldn't grab the accept mutex