I'm running rails programs on Apache with Passenger.

How do you obtain the values of apache variables associated with Passenger like PassengerMaxPoolSize and PassengerPoolIdleTime?



I have tried personally something similar to this previously with best of luck. It doesn't provide you with exactly what you're after, however it might point you within the right direction:

Bundler.with_clean_env { `passenger-memory-stats` }
Bundler.with_clean_env { `rvmsudo passenger-status` }