zombocom / puma_worker_killer

Automatically restart Puma cluster workers based on max RAM available
749 stars 77 forks source link

Add ability to restart all workers after a time #16

Closed schneems closed 9 years ago

schneems commented 9 years ago

When we can't be smart about when we restart (i.e. if memory measurements aren't really cutting it) we can do timed restarts. If you see your app is hitting swap after 13 hours of running, restart it at 12 hours. It's that easy.