权限被拒绝:无法获取接受互斥锁

权限被拒绝:无法获取接受互斥锁

我刚刚配置了一台新服务器,它时不时就会死机。错误日志指出了以下问题:

[Thu Feb 11 03:21:15.261690 2016] [mpm_prefork:emerg] [pid 1273] (43)Identifier removed: AH00144: couldn't grab the accept mutex
[Thu Feb 11 03:21:15.640431 2016] [core:alert] [pid 1256] AH00050: Child 1258 returned a Fatal error... Apache is exiting!

我尝试了列出的解决方案这里(基本上添加AcceptMutex flock到 httpd.conf),但 Apache 无法启动:

Invalid command 'AcceptMutex', perhaps misspelled or defined by a module not included in the server

所以现在我不知道还能做什么。

答案1

如果你返回并查看你链接到的页面,你会发现下面有一行字:

对于 apache 2.4,使用 Mutex 而不是 AcceptMutex

答案2

尝试添加

AcceptMutex posixsem

在你的 Apache conf 中

相关内容