Tracks Phusion Passenger’s VM size, process count, and the amount of private memory it has squirreled away. You can also elect to be emailed if any of these statistics crosses a line you indicate. As an added bonus, this plugin also tracks the same statistics for the Apache instance managing Passenger.
The passenger-memory-stats program recommends that you run it would super user privileges to gain more information. This plugin is usable without the extra access rights, but you will need to add them if you want the full details.
It’s important to note though that it is not safe for you to transmit your super user password to us. You will need to address this access issue on your server.
Our recommended procedure to handle this is:
| Rating: |
You must have a Scout Account to vote.
|
| Installs: | 52 |
| Tested On: | linux |
| Source: |
View Source
All plugins listed in the directory are open source.
|
I was having trouble with this plugin until I realized it was an issue with passenger and my OS.
—
For those on CentOS/RHEL change line 107 in /usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.2/bin/passenger-memory-stats from:
apache_processes = list_processes(:exe => PlatformInfo::HTTPD)
to
apache_processes = list_processes(:exe => ‘httpd.worker’)
—
I found this info here
I had to make a small change to this process on CentOS 4×64_64 – instead of ‘httpd.workier’, I had to use just ‘httpd’ to get it to work