Apache 掛了:Invalid argument: couldn't grab the accept mutex

來源:互聯網
上載者:User
如題,啟動一段時間後,進程數減少,最後剩10個左右,並報錯:

[emerg] (22)Invalid argument: couldn't grab the accept mutex

以前貌似也沒改過什麼,沒有出過問題。難道是最近訪問量大了造成的(httpd 進程數最高 800左右)?

StackOverflow 上有類似問題,另百度找到一些文章,主要有兩個方法:

  1. MaxRequestsPerChild 參數設定問題;

  2. 添加一行 AcceptMutex posixsem

尚未嘗試,先來提問,等嘗試完了看看能不能解決。
看看有沒有遇到過這個問題的人。

參考:

  1. Sf搜尋結果

  2. apache的MaxRequestsPerChild指令設定不合理導致apache崩潰

  3. 求助!apache 不停的掛

  4. 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 上有類似問題,另百度找到一些文章,主要有兩個方法:

  1. MaxRequestsPerChild 參數設定問題;

  2. 添加一行 AcceptMutex posixsem

尚未嘗試,先來提問,等嘗試完了看看能不能解決。
看看有沒有遇到過這個問題的人。

參考:

  1. Sf搜尋結果

  2. apache的MaxRequestsPerChild指令設定不合理導致apache崩潰

  3. 求助!apache 不停的掛

  4. 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
  • 相關文章

    聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.