我的 Apache 突然停止並顯示此日誌。
[Thu Feb 06 04:46:29.670924 2020] [mpm_prefork:emerg] [pid 5296] (43)Identifier removed: AH00144: couldn't grab the accept mutex
[Thu Feb 06 04:46:29.675338 2020] [mpm_prefork:emerg] [pid 6530] (43)Identifier removed: AH00144: couldn't grab the accept mutex
[Thu Feb 06 04:46:30.283579 2020] [core:alert] [pid 5291] AH00050: Child 5294 returned a Fatal error... Apache is exiting!
[Thu Feb 06 04:46:30.283630 2020] [:emerg] [pid 5291] AH02818: MPM run failed, exiting
我用這個命令啟動了 Apache systemctl apache start
,它運行了一段時間,但幾個小時後它突然停止了。
我的伺服器只是一個開發伺服器,所以訪問量並不多。
怎麼了?
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2019-09-16T12:58:48
Server's Module Magic Number: 20120211:68
Server loaded: APR 1.6.3, APR-UTIL 1.6.1
Compiled using: APR 1.6.3, APR-UTIL 1.6.1
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/etc/apache2"
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="mime.types"
-D SERVER_CONFIG_FILE="apache2.conf"