0

我在 phusion 乘客上运行的 Web 应用程序经常停机,但我无法找出原因。这是我在 /var/log/httpd/error.log 文件中遇到的错误

脚本头过早结束:后端应用程序(进程 5417)没有发送有效的 HTTP 响应;相反,它什么也没发送。它可能已经崩溃了;请检查此应用程序中是否存在崩溃错误。

日志的最后 50 行:

[Thu Oct 11 05:29:42 2012] [error] [client 11.992.88.255] Premature end of script headers: 
[ pid=22252 thr=1 file=ext/apache2/Hooks.cpp:817 time=2012-10-11 05:29:42.409 ]: The backend application (process 5488) did not send a valid HTTP response; instead, it sent nothing at all. It is possible that it has crashed; please check whether there are crashing bugs in this application.
[Thu Oct 11 05:35:16 2012] [notice] child pid 27200 exit signal Segmentation fault (11)
[Thu Oct 11 05:35:19 2012] [notice] child pid 27196 exit signal Segmentation fault (11)
[Thu Oct 11 05:35:19 2012] [notice] child pid 27199 exit signal Segmentation fault (11)
[Thu Oct 11 05:35:20 2012] [notice] child pid 27203 exit signal Segmentation fault (11)
[Thu Oct 11 05:35:20 2012] [notice] child pid 27195 exit signal Segmentation fault (11)
[Thu Oct 11 05:35:20 2012] [notice] child pid 27205 exit signal Segmentation fault (11)
[Thu Oct 11 05:35:28 2012] [notice] child pid 27194 exit signal Segmentation fault (11)
[Thu Oct 11 05:35:28 2012] [notice] child pid 27206 exit signal Segmentation fault (11)
[Thu Oct 11 05:35:35 2012] [notice] child pid 27193 exit signal Segmentation fault (11)
[Thu Oct 11 05:35:38 2012] [notice] child pid 27204 exit signal Segmentation fault (11)
[Thu Oct 11 05:35:38 2012] [notice] child pid 27192 exit signal Segmentation fault (11)
[Thu Oct 11 05:35:40 2012] [notice] child pid 27202 exit signal Segmentation fault (11)
[Thu Oct 11 05:35:42 2012] [notice] child pid 27197 exit signal Segmentation fault (11)
[Thu Oct 11 05:35:43 2012] [notice] child pid 27198 exit signal Segmentation fault (11)
[Thu Oct 11 05:37:31 2012] [notice] child pid 27207 exit signal Segmentation fault (11)
[Thu Oct 11 05:39:02 2012] [notice] child pid 9225 exit signal Segmentation fault (11)
[Thu Oct 11 05:39:02 2012] [notice] child pid 9224 exit signal Segmentation fault (11)
[Thu Oct 11 05:39:03 2012] [notice] child pid 9229 exit signal Segmentation fault (11)
[Thu Oct 11 05:39:04 2012] [notice] child pid 9230 exit signal Segmentation fault (11)
[Thu Oct 11 05:39:05 2012] [notice] child pid 9231 exit signal Segmentation fault (11)
[Thu Oct 11 05:39:06 2012] [notice] child pid 9392 exit signal Segmentation fault (11)
[Thu Oct 11 05:39:07 2012] [notice] child pid 9395 exit signal Segmentation fault (11)
[Thu Oct 11 05:39:08 2012] [notice] child pid 9396 exit signal Segmentation fault (11)
[Thu Oct 11 05:39:09 2012] [notice] child pid 27201 exit signal Segmentation fault (11)
[Thu Oct 11 05:41:55 2012] [notice] child pid 9220 exit signal Segmentation fault (11)
[Thu Oct 11 05:45:25 2012] [notice] child pid 9223 exit signal Segmentation fault (11)
[Thu Oct 11 05:52:40 2012] [notice] child pid 9517 exit signal Segmentation fault (11)
[Thu Oct 11 05:54:16 2012] [notice] child pid 9525 exit signal Segmentation fault (11)
[Thu Oct 11 05:54:17 2012] [notice] child pid 9529 exit signal Segmentation fault (11)
[Thu Oct 11 05:54:18 2012] [notice] child pid 9531 exit signal Segmentation fault (11)
[Thu Oct 11 05:54:19 2012] [notice] child pid 10414 exit signal Segmentation fault (11)
/home/john/dips/apps/production/releases/20121005650832/vendor/gems/ruby/1.9/gems/needle-1.3.0/lib/needle/definition-context.rb:36: warning: undefining `initialize' may cause serious problems
/home/john/dips/apps/production/releases/20121005650832/vendor/gems/ruby/1.9/gems/needle-1.3.0/lib/needle/definition-context.rb:36: warning: undefining `object_id' may cause serious problems
/home/john/apps/production/releases/20121005650832/vendor/gems/ruby/1.9/gems/needle-1.3.0/lib/needle/definition-context.rb:36: warning: undefining `__send__' may cause serious problems
[DEPRECATED] By requiring 'spreadsheet/excel' you are loading a Compatibility
             layer which provides a drop-in replacement for Spreadsheet::Excel
             versions <= 0.3.5.1. This code will be removed in Spreadsheet
             version 1.0.0

/home/john/dips/apps/production/releases/20121005650832/vendor/gems/ruby/1.9/gems/needle-1.3.0/lib/needle/definition-context.rb:36: warning: undefining `initialize' may cause serious problems
/home/john/dips/apps/production/releases/20121005650832/vendor/gems/ruby/1.9/gems/needle-1.3.0/lib/needle/definition-context.rb:36: warning: undefining `object_id' may cause serious problems
/home/john/dips/apps/production/releases/20121005650832/vendor/gems/ruby/1.9/gems/needle-1.3.0/lib/needle/definition-context.rb:36: warning: undefining `__send__' may cause serious problems
[DEPRECATED] By requiring 'spreadsheet/excel' you are loading a Compatibility
             layer which provides a drop-in replacement for Spreadsheet::Excel
             versions <= 0.3.5.1. This code will be removed in Spreadsheet
             version 1.0.0

    enter code here
4

0 回答 0