Apache服务器不断重启

我的Apache服务器每隔几秒钟就会死一次。 这杀了我的网站,不允许他们经营。 我在CentOS上运行VPS服务。

有部分error_log(更改IP和DNS名称):

WARNING: MaxClients of 150 would require 6 servers, and would exceed the ServerLimit value of 2. Automatically lowering MaxClients to 50. To increase, please see the ServerLimit directive. [Fri May 31 12:50:54 2013] [notice] Digest: generating secret for digest authentication ... [Fri May 31 12:50:54 2013] [notice] Digest: done [Fri May 31 12:50:54 2013] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 32 bytes) [Fri May 31 12:50:54 2013] [notice] mod_bw : Version 0.8 - Initialized [0 Confs] [Fri May 31 12:50:54 2013] [notice] mod_python: Creating 4 session mutexes based on 2 max processes and 32 max threads. [Fri May 31 12:50:55 2013] [notice] SSL FIPS mode disabled [Fri May 31 12:50:55 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:50:55 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:50:55 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:50:55 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:50:55 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:50:55 2013] [warn] Init: (MYSITE_DOMAIN1.com:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:50:55 2013] [warn] Init: (MYSITE_DOMAIN2.com:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:50:55 2013] [warn] Init: (MYSITE_DOMAIN3.com:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:50:55 2013] [warn] Init: (MYSITE_DOMAIN4.com:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:50:55 2013] [warn] Init: SSL server IP/port conflict: horde.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_horde.include:96) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:107) [Fri May 31 12:50:55 2013] [warn] Init: SSL server IP/port conflict: horde.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_horde.include:49) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:54) [Fri May 31 12:50:55 2013] [warn] Init: SSL server IP/port conflict: lists:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_server.include:204) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:54) [Fri May 31 12:50:55 2013] [warn] Init: SSL server IP/port conflict: default-XXX_XXX_XXX_XXX:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_server.include:139) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:107) [Fri May 31 12:50:55 2013] [warn] Init: SSL server IP/port conflict: default-YYY_YYY_YYY_YYY:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_server.include:105) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:54) [Fri May 31 12:50:55 2013] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!! [Fri May 31 12:50:55 2013] [notice] Apache configured -- resuming normal operations [Fri May 31 12:51:10 2013] [error] mod_fcgid: fcgid process manager died, restarting the server [Fri May 31 12:51:11 2013] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread [Fri May 31 12:51:14 2013] [warn] child process 17814 still did not exit, sending a SIGTERM [Fri May 31 12:51:16 2013] [warn] child process 17814 still did not exit, sending a SIGTERM [Fri May 31 12:51:18 2013] [warn] child process 17814 still did not exit, sending a SIGTERM [Fri May 31 12:51:18 2013] [error] make_obcallback: could not import mod_python.apache.\n Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 22, in ? [Fri May 31 12:51:20 2013] [error] child process 17814 still did not exit, sending a SIGKILL [Fri May 31 12:51:21 2013] [notice] SIGHUP received. Attempting to restart WARNING: MaxClients of 150 would require 6 servers, and would exceed the ServerLimit value of 2. Automatically lowering MaxClients to 50. To increase, please see the ServerLimit directive. [Fri May 31 12:51:23 2013] [notice] Digest: generating secret for digest authentication ... [Fri May 31 12:51:23 2013] [notice] Digest: done [Fri May 31 12:51:23 2013] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 32 bytes) [Fri May 31 12:51:23 2013] [notice] mod_bw : Version 0.8 - Initialized [0 Confs] [Fri May 31 12:51:23 2013] [notice] mod_python: Creating 4 session mutexes based on 2 max processes and 32 max threads. [Fri May 31 12:51:23 2013] [notice] SSL FIPS mode disabled [Fri May 31 12:51:23 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:51:23 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:51:23 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:51:23 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:51:23 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:51:23 2013] [warn] Init: (MYSITE_DOMAIN1:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:51:23 2013] [warn] Init: (MYSITE_DOMAIN2.com:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:51:23 2013] [warn] Init: (MYSITE_DOMAIN3.com:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:51:23 2013] [warn] Init: (MYSITE_DOMAIN4.com:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:51:23 2013] [warn] Init: SSL server IP/port conflict: horde.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_horde.include:96) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:107) [Fri May 31 12:51:23 2013] [warn] Init: SSL server IP/port conflict: horde.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_horde.include:49) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:54) [Fri May 31 12:51:23 2013] [warn] Init: SSL server IP/port conflict: lists:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_server.include:204) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:54) [Fri May 31 12:51:23 2013] [warn] Init: SSL server IP/port conflict: default-XXX_XXX_XXX_XXX:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_server.include:139) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:107) [Fri May 31 12:51:23 2013] [warn] Init: SSL server IP/port conflict: default-YYY_YYY_YYY_YYY:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_server.include:105) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:54) [Fri May 31 12:51:23 2013] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!! [Fri May 31 12:51:23 2013] [notice] Apache configured -- resuming normal operations [Fri May 31 12:51:32 2013] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread [Fri May 31 12:51:38 2013] [error] mod_fcgid: fcgid process manager died, restarting the server [Fri May 31 12:51:41 2013] [warn] child process 17839 still did not exit, sending a SIGTERM [Fri May 31 12:51:44 2013] [warn] child process 17839 still did not exit, sending a SIGTERM [Fri May 31 12:51:46 2013] [warn] child process 17839 still did not exit, sending a SIGTERM [Fri May 31 12:51:48 2013] [error] child process 17839 still did not exit, sending a SIGKILL [Fri May 31 12:51:49 2013] [notice] SIGHUP received. Attempting to restart WARNING: MaxClients of 150 would require 6 servers, and would exceed the ServerLimit value of 2. Automatically lowering MaxClients to 50. To increase, please see the ServerLimit directive. [Fri May 31 12:51:49 2013] [notice] Digest: generating secret for digest authentication ... [Fri May 31 12:51:49 2013] [notice] Digest: done [Fri May 31 12:51:49 2013] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 32 bytes) [Fri May 31 12:51:49 2013] [notice] mod_bw : Version 0.8 - Initialized [0 Confs] [Fri May 31 12:51:49 2013] [notice] mod_python: Creating 4 session mutexes based on 2 max processes and 32 max threads. [Fri May 31 12:51:49 2013] [notice] SSL FIPS mode disabled [Fri May 31 12:51:49 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:51:49 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:51:49 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:51:49 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:51:49 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:51:49 2013] [warn] Init: (MYSITE_DOMAIN1:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:51:49 2013] [warn] Init: (MYSITE_DOMAIN2.com:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:51:49 2013] [warn] Init: (MYSITE_DOMAIN3.com:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:51:49 2013] [warn] Init: (MYSITE_DOMAIN4.com:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:51:49 2013] [warn] Init: SSL server IP/port conflict: horde.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_horde.include:96) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:107) [Fri May 31 12:51:49 2013] [warn] Init: SSL server IP/port conflict: horde.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_horde.include:49) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:54) [Fri May 31 12:51:49 2013] [warn] Init: SSL server IP/port conflict: lists:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_server.include:204) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:54) [Fri May 31 12:51:49 2013] [warn] Init: SSL server IP/port conflict: default-XXX_XXX_XXX_XXX:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_server.include:139) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:107) [Fri May 31 12:51:49 2013] [warn] Init: SSL server IP/port conflict: default-YYY_YYY_YYY_YYY:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_server.include:105) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:54) [Fri May 31 12:51:49 2013] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!! [Fri May 31 12:51:49 2013] [notice] Apache configured -- resuming normal operations [Fri May 31 12:52:29 2013] [error] mod_fcgid: fcgid process manager died, restarting the server [Fri May 31 12:52:33 2013] [warn] child process 17852 still did not exit, sending a SIGTERM [Fri May 31 12:52:33 2013] [warn] child process 17854 still did not exit, sending a SIGTERM [Fri May 31 12:52:35 2013] [warn] child process 17852 still did not exit, sending a SIGTERM [Fri May 31 12:52:35 2013] [warn] child process 17854 still did not exit, sending a SIGTERM [Fri May 31 12:52:37 2013] [warn] child process 17852 still did not exit, sending a SIGTERM [Fri May 31 12:52:37 2013] [warn] child process 17854 still did not exit, sending a SIGTERM [Fri May 31 12:52:39 2013] [error] child process 17852 still did not exit, sending a SIGKILL [Fri May 31 12:52:39 2013] [error] child process 17854 still did not exit, sending a SIGKILL [Fri May 31 12:52:40 2013] [notice] SIGHUP received. Attempting to restart WARNING: MaxClients of 150 would require 6 servers, and would exceed the ServerLimit value of 2. Automatically lowering MaxClients to 50. To increase, please see the ServerLimit directive. [Fri May 31 12:52:42 2013] [notice] Digest: generating secret for digest authentication ... [Fri May 31 12:52:42 2013] [notice] Digest: done [Fri May 31 12:52:42 2013] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 32 bytes) [Fri May 31 12:52:42 2013] [notice] mod_bw : Version 0.8 - Initialized [0 Confs] [Fri May 31 12:52:42 2013] [notice] mod_python: Creating 4 session mutexes based on 2 max processes and 32 max threads. [Fri May 31 12:52:42 2013] [notice] SSL FIPS mode disabled [Fri May 31 12:52:44 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:52:44 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:52:44 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:52:44 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:52:44 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Fri May 31 12:52:44 2013] [warn] Init: (MYSITE_DOMAIN1:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:52:44 2013] [warn] Init: (MYSITE_DOMAIN2.com:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:52:44 2013] [warn] Init: (MYSITE_DOMAIN3.com:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:52:44 2013] [warn] Init: (MYSITE_DOMAIN4.com:443) You configured HTTP(80) on the standard HTTPS(443) port! [Fri May 31 12:52:44 2013] [warn] Init: SSL server IP/port conflict: horde.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_horde.include:96) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:107) [Fri May 31 12:52:44 2013] [warn] Init: SSL server IP/port conflict: horde.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_horde.include:49) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:54) [Fri May 31 12:52:44 2013] [warn] Init: SSL server IP/port conflict: lists:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_server.include:204) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:54) [Fri May 31 12:52:44 2013] [warn] Init: SSL server IP/port conflict: default-XXX_XXX_XXX_XXX:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_server.include:139) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:107) [Fri May 31 12:52:44 2013] [warn] Init: SSL server IP/port conflict: default-YYY_YYY_YYY_YYY:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_server.include:105) vs. atmail.webmail:443 (/usr/local/psa/admin/conf/generated/13698586280.72967400_atmail.include:54) [Fri May 31 12:52:44 2013] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!! [Fri May 31 12:52:44 2013] [notice] Apache configured -- resuming normal operations [Fri May 31 12:52:50 2013] [error] mod_fcgid: fcgid process manager died, restarting the server 

有人能告诉我这个问题是什么吗?

Apache告诉你问题是什么。 你只需要听。

[11月5日星期五12:51:11] [警告] (11)资源暂时不可用:apr_thread_create:无法创build工作线程

由于这是一个VPS,我怀疑你是受到你的提供者施加的限制(可能是内存,可能是进程/线程的数量)。
请联系您的提供商以获取帮助,以确定您所遇到的限制和可能的解决scheme。

您应该根据错误日志中提供的信息更正您的httpconfiguration文件。 我也使用http://httpd.apache.org作为参考。