New mod_rails/passenger memory tools and cool tutorial

I’ve been mucking around with passenger quite a bit these days. I’ve got two staging servers running it for two different projects and another running a production version of one of those projects.

In digging through the documentation I discovered two new command line tools that come included with the 2.0 version of Passenger.

From the documentation

One can inspect Phusion Passenger’s internal status with the tool passenger-status. This tool must typically be run as root. For example:


Process inspection tools such as ps and top are useful, but they rarely show the correct memory usage. The real memory usage is usually lower than what ps and top report.

The tool passenger-memory-stats allows one to easily analyze Phusion Passenger’s and Apache’s real memory usage

And then there’s this very good modrails/passenger tutorial on Railcasts