FooBarWidget/passenger — pull request #39 by barttenbrinke (2012-01-16 12:19:24+00:00)
Title: Abort passenger instance on high memory usage. 

As an alternative to the passenger-mem-patch (http://code.google.com/p/phusion-passenger/issues/detail?id=201#makechanges) I've added a --kill flag to passenger-memory-stats.
Passenger-memory-stats will send a SIGABRT to any passenger-instance using more then the specified memory. This can be ran in a cronjob/watchdog fashion, where STDERR will receive output on a every process killed.