Abort passenger instance on high memory usage. #39

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@barttenbrinke

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.

@woutslakhorst

Yes this could be very helpful (especially @ night ;))

@FooBarWidget
Member

Phusion Passenger Enterprise already provides a better alternative. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment