From the Apache error log
[Thu Sep 23 06:01:44 2010] [error] [client <ip_add>] Premature end of
script headers:
[Thu Sep 23 06:01:44 2010] [error] [client <ip_add>] Premature end of
script headers:
[ pid=21997 file=ext/apache2/Hooks.cpp:700 time=2010-09-23
06:01:45.114 ]:
The backend application (process 22782) 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 applicat
$
[ pid=21996 file=ext/apache2/Hooks.cpp:700 time=2010-09-23
06:01:45.114 ]:
The backend application (process 22775) 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 applicat
$
*** Exception Errno::ENOMEM in
PhusionPassenger::Railz::ApplicationSpawner (Cannot allocate memory -
fork(2)) (process 22805):
from /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/
passenger-2.2.13/lib/phusion_passenger/utils.rb:245:in `fork'
from /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/
passenger-2.2.13/lib/phusion_passenger/utils.rb:245:in `safe_fork'
from /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/
passenger-2.2.13/lib/phusion_passenger/railz/application_spawner.rb:
377:in `handle_spawn_application'
....
[ pid=22945 file=ext/apache2/Hooks.cpp:743 time=2010-09-23
06:03:01.711 ]:
Unexpected error in mod_passenger: The ApplicationPool server
unexpectedly closed the connection while we're reading a response for
the 'get' command.
Backtrace:
in 'virtual boost::shared_ptr<Passenger::Application::Session>
Passenger::ApplicationPoolServer::Client::get(const
Passenger::PoolOptions&)' (ApplicationPoolServer.h:424)
in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:534)
It seemed to have run out of memory and I couldn't get in at all. Had
to reboot it.
BTW ... The following is the warning I mentioned in my previous post
Missing the Rails 2.1.0 gem. Please `gem install -v=2.1.0 rails`,
update your RAILS_GEM_VERSION setting in config/environment.rb for the
Rails version you do have installed, or comment out RAILS_GEM_VERSION
But Rails 2.1.0 is installed and working fine. Feels like the two
issues are related... ?
On Sep 23, 12:37 pm, Hongli Lai <
hon...@phusion.nl> wrote:
> E-mail:
i...@phusion.nl