I am experiencing problems similar to this. I am running Enterprise
Ruby w/ Passenger 2.0.3.
The machine has 512mb of ram
I am currently NOT hosting ANY Rails application; this server is setup
to hold a future Rails app.
Here is a bit from apache's error_log:
*snip*
[Sun Aug 10 01:27:28 2008] [notice] Apache/2.2.3 (CentOS) configured
-- resuming normal operations
[Sun Aug 10 14:51:48 2008] [error] (12)Cannot allocate memory: fork:
Unable to fork new process
[ pid=18100 file=Hooks.cpp:624 time=08/10/08 14:51:48.452 ]:
Cannot initialize Passenger in an Apache child process: Could not
connect to the ApplicationPool server: Broken pipe (32) (this warning
is harmless if you're currently restart
ing or shutting down Apache)
[ pid=15403 file=ApplicationPoolServerExecutable.cpp:469 time=08/10/08
14:51:48.466 ]:
Cannot create an anonymous Unix socket: Cannot allocate memory (12)
[ pid=18254 file=Hooks.cpp:624 time=08/10/08 14:51:58.464 ]:
Cannot initialize Passenger in an Apache child process: Could not
connect to the ApplicationPool server: Broken pipe (32) (this warning
is harmless if you're currently restart
ing or shutting down Apache)
[ pid=18255 file=Hooks.cpp:624 time=08/10/08 14:51:58.469 ]:
Cannot initialize Passenger in an Apache child process: Could not
connect to the ApplicationPool server: Broken pipe (32) (this warning
is harmless if you're currently restart
ing or shutting down Apache)
[ pid=18256 file=Hooks.cpp:624 time=08/10/08 14:51:58.473 ]:
Cannot initialize Passenger in an Apache child process: Could not
connect to the ApplicationPool server: Broken pipe (32) (this warning
is harmless if you're currently restart
ing or shutting down Apache)
[ pid=18257 file=Hooks.cpp:624 time=08/10/08 14:51:58.478 ]:
Cannot initialize Passenger in an Apache child process: Could not
connect to the ApplicationPool server: Broken pipe (32) (this warning
is harmless if you're currently restart
ing or shutting down Apache)
[ pid=18258[ pid=[ pid=18259 file= file=Hooks.cpp:624 time=08/10/08
14:51:58.18260Hooks.cpp: file=Hooks.cpp:624 time=[ pid=08/10/08
14:51:58624 time=.18261 file=Hooks.cpp08/10/0
8 14:51:58489483 ]:: ]:
Cannot initialize Passenger in an Apache child process: Could not
connect to the ApplicationPool server: Broken pipe (32) (this warning
is harmless if you're currently restart
ing or shutting down Apache)
.486 ]:
Cannot initialize Passenger in an Apache child process: Could not
connect to the ApplicationPool server: Broken pipe (32) (this warning
is harmless if you're currently restart
ing or shutting down Apache)
Cannot initialize Passenger in an Apache child process: Could not
connect to the ApplicationPool server: Broken pipe (32) (this warning
is harmless if you're currently restart
ing or shutting down Apache)
[ pid=18262 file=Hooks.cpp:624 time=08/10/08 14:51:58.499 ]:
Cannot initialize Passenger in an Apache child process: Could not
connect to the ApplicationPool server: Broken pipe (32) (this warning
is harmless if you're currently restart
ing or shutting down Apache)
624 time=08/10/08 14:51:58.493 ]:
Cannot initialize Passenger in an Apache child process: Could not
connect to the ApplicationPool server: Broken pipe (32) (this warning
is harmless if you're currently restart
ing or shutting down Apache)
[Sun Aug 10 14:51:58 2008] [notice] child pid 18092 exit signal
Segmentation fault (11)
[Sun Aug 10 14:51:58 2008] [notice] child pid 18100 exit signal
Aborted (6)
This is remedied by restarting apache.
I am using Passenger 2.0.3, why am I running out of memory so quickly?