mod_rails on 256meg slicehost vps crashing often

reading through the mod_rails help i see i can change a few parameters

#define DEFAULT_LOG_LEVEL 0 #define DEFAULT_MAX_POOL_SIZE 2 #define DEFAULT_POOL_IDLE_TIME 300 #define DEFAULT_MAX_INSTANCES_PER_APP 0

i found these located in Configuration.cpp. do i need to recompile passenger? or can i just set this as a global value somewhere like in the virtual host declaration?

http://www.modrails.com/documentation/Users%20guide.html#_resource_control_and_optimization_options

And yes, it’s in the vhost config.

Best regards

Peter De Berdt

i got it. i had to do the following:

PassengerMaxPoolSize 2

since it was not an environment variable.