I'm running into an intermittent error with my Ruby app and I'm trying to figure out the context. I'm running mod_passenger off of Apache (on Dreamhost, if that matters).
The error I'm getting is:
[ pid=12404 file=ext/apache2/Hooks.cpp:727 time=2012-04-30 02:59:02.949 ]:
Unexpected error in mod_passenger: Could not send data to the ApplicationPool server: write() failed: Bad file descriptor (9)
Backtrace:
in 'virtual boost::shared_ptr<Passenger::Application::Session> Passenger::ApplicationPoolServer::Client::get(const Passenger::PoolOptions&)' (ApplicationPoolServer.h:402)
in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:523)
(That's how I know I'm running mod_passenger.) I tried to do a gem list | grep passenger
, but that didn't turn up anything. I can see the module in /dh/apache2/template/lib/modules
, I just don't know how to figure out what the version is.