arches / whacamole

restart heroku dynos that run out of RAM instead of swapping to disk
115 stars 12 forks source link

add support for worker #4

Closed homanchou closed 10 years ago

arches commented 10 years ago

nice! personally I don't want my workers restarted... I'm happy to add this in but let's set up some config to choose what process types should be monitored. I'm thinking we could add a dyno_regex method in stream.rb, and use a config option to choose whether we want web, worker, or both.

I'm happy to make those changes myself but it's going to be a week or two.

homanchou commented 10 years ago

That sounds good. I'm having an issue where monitoring of the background workers occasionally disappears from the whacamole logs. If I restart whacamole then it's able to see them again. The disappearance seems to coincide after it has seen one worker that is over the memory limit. I'm not sure why that would happen? Any ideas?

amscotti commented 10 years ago

Hi, I just want to show support for being able to reset workers. I would find this very useful on some projects I'm working on right now. :+1:

jgandt commented 10 years ago

definite :+1: to this.

michaelbaudino commented 10 years ago

I think is now doable with the dynos option. and may be closed.

arches commented 10 years ago

yup! v1.0 has this feature