海浪家园

今晚apache宕了一下

OpenVZ的VPS,装的ubunt 12.04,apache+fcgid+php,内存耗尽,php5-cgi进程陆续死掉。
apache error log 如下:

[Tue Feb 26 23:03:04 2013] [error] [client 218.2.173.196] File does not exist: /
var/www/default/cert
[Tue Feb 26 23:28:59 2013] [error] mod_fcgid: process /usr/bin/php5-cgi(26476) e
xit(communication error), get unexpected signal 11

Fatal error: Out of memory (allocated 0) (tried to allocate 8192 bytes) in Unkno
wn on line 0
[Tue Feb 26 23:29:11 2013] [error] (12)Cannot allocate memory: mod_fcgid: can't
run /usr/bin/php5-cgi

Fatal error: Out of memory (allocated 0) (tried to allocate 8192 bytes) in Unkno
wn on line 0
[Tue Feb 26 23:29:11 2013] [error] (12)Cannot allocate memory: mod_fcgid: can't
run /usr/bin/php5-cgi

Fatal error: Out of memory (allocated 0) (tried to allocate 8192 bytes) in Unkno
wn on line 0
[Tue Feb 26 23:29:12 2013] [error] (12)Cannot allocate memory: mod_fcgid: can't
run /usr/bin/php5-cgi

Fatal error: Out of memory (allocated 0) (tried to allocate 8192 bytes) in Unkno
wn on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/2009062
6+lfs/gd.so' - libgd.so.2: failed to map segment from shared object: Cannot allo
cate memory in Unknown on line 0
[Tue Feb 26 23:29:13 2013] [error] (12)Cannot allocate memory: mod_fcgid: can't
run /usr/bin/php5-cgi
[Tue Feb 26 23:29:13 2013] [error] (12)Cannot allocate memory: mod_fcgid: can't
run /usr/bin/php5-cgi
[Tue Feb 26 23:29:14 2013] [error] (12)Cannot allocate memory: mod_fcgid: can't
run /usr/bin/php5-cgi

[Tue Feb 26 23:29:15 2013] [error] (12)Cannot allocate memory: mod_fcgid: can't
run /usr/bin/php5-cgi
[Tue Feb 26 23:29:15 2013] [error] mod_fcgid: process /usr/bin/php5-cgi(26505) e
xit(communication error), get unexpected signal 11

Fatal error: Out of memory (allocated 0) (tried to allocate 8192 bytes) in Unkno
wn on line 0
[Tue Feb 26 23:30:00 2013] [error] (12)Cannot allocate memory: mod_fcgid: can't
run /usr/bin/php5-cgi

Fatal error: Out of memory (allocated 0) (tried to allocate 8192 bytes) in Unkno
wn on line 0

[Tue Feb 26 23:30:05 2013] [error] mod_fcgid: process /usr/bin/php5-cgi(26538) e
xit(communication error), get unexpected signal 11
[Tue Feb 26 23:30:05 2013] [error] (12)Cannot allocate memory: mod_fcgid: can't
run /usr/bin/php5-cgi

Fatal error: Out of memory (allocated 0) (tried to allocate 8192 bytes) in Unkno
wn on line 0

Fatal error: Out of memory (allocated 0) (tried to allocate 8192 bytes) in Unkno
wn on line 0
libgcc_s.so.1 must be installed for pthread_cancel to work

Fatal error: Out of memory (allocated 0) (tried to allocate 8192 bytes) in Unkno
wn on line 0
Out of memory

[Tue Feb 26 23:30:21 2013] [notice] child pid 1425 exit signal Segmentation faul
t (11)
[Tue Feb 26 23:30:37 2013] [alert] (11)Resource temporarily unavailable: apr_thr
ead_create: unable to create worker thread
[Tue Feb 26 23:30:39 2013] [alert] (11)Resource temporarily unavailable: apr_thr
ead_create: unable to create worker thread
[Tue Feb 26 23:30:41 2013] [alert] (11)Resource temporarily unavailable: apr_thr
ead_create: unable to create worker thread


[Tue Feb 26 23:33:00 2013] [emerg] (22)Invalid argument: ap_queue_info_set_idle
failed. Attempting to shutdown process gracefully.
[Tue Feb 26 23:33:00 2013] [crit] (22)Invalid argument: ap_queue_pop failed
[Tue Feb 26 23:33:00 2013] [crit] (22)Invalid argument: ap_queue_pop failed
[Tue Feb 26 23:33:00 2013] [crit] (22)Invalid argument: ap_queue_pop failed
[Tue Feb 26 23:33:00 2013] [crit] (22)Invalid argument: ap_queue_pop failed
[Tue Feb 26 23:33:00 2013] [crit] (22)Invalid argument: ap_queue_pop failed
[Tue Feb 26 23:33:00 2013] [crit] (22)Invalid argument: ap_queue_pop failed
[Tue Feb 26 23:33:00 2013] [crit] (22)Invalid argument: ap_queue_pop failed
[Tue Feb 26 23:33:00 2013] [crit] (22)Invalid argument: ap_queue_pop failed
[Tue Feb 26 23:33:00 2013] [crit] (22)Invalid argument: ap_queue_pop failed
[Tue Feb 26 23:33:00 2013] [crit] (22)Invalid argument: ap_queue_pop failed
[Tue Feb 26 23:33:00 2013] [crit] (22)Invalid argument: ap_queue_pop failed

退出移动版