本站即日起正式部署SSL证书启用https安全连接, 联系站长:416326801#qq.com(#改成@)

Apache部署SSL证书配置https

标签: Apache

<VirtualHost *:443>
    DocumentRoot "/var/www/html"
    ServerName jishu8.net
    SSLEngine on
    SSLCertificateFile /usr/local/apache/conf/2_jishu8.net_cert.crt
    SSLCertificateKeyFile /usr/local/apache/conf/3_jishu8.net.key
    SSLCertificateChainFile /usr/local/apache/conf/1_root_bundle.crt
</VirtualHost>

[emerg] (43)Identifier removed: couldn't grab the accept mutex

标签: Linux Apache

查看apache日志

cat /var/wwwlogs/error
[emerg] (43)Identifier removed: couldn't grab the accept mutex
[emerg] (43)Identifier removed: couldn't grab the accept mutex
[emerg] (43)Identifier removed: couldn't grab the accept mutex
[emerg] (43)Identifier removed: couldn't grab the accept mutex
[alert] Child 9928 returned a Fatal error... Apache is exiting!
[emerg] (22)Invalid argument: couldn't release the accept mutex


处理办法,修改配置文件增加AcceptMutex posixsem

vi /usr/local/apache/conf/vhost/http-mpm.conf
<IfModule mpm_prefork_module>
    StartServers          10
    MinSpareServers       10
    MaxSpareServers      20
    ServerLimit         1500
    MaxClients          1000
    MaxRequestsPerChild 5000
    AcceptMutex posixsem
</IfModule>
1 2 ... Next »