Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'sample.god' should be 'simple.god' #186

Open
rocLv opened this issue Sep 1, 2014 · 0 comments · May be fixed by #204
Open

'sample.god' should be 'simple.god' #186

rocLv opened this issue Sep 1, 2014 · 0 comments · May be fixed by #204

Comments

@rocLv
Copy link

rocLv commented Sep 1, 2014

While keeping a process up is useful, it would be even better if we could make sure our process was behaving well and restart it when resource utilization exceeds our specifications. With a few additions, we can easily have our process restarted when memory usage or CPU goes above certain limits. Edit your sample.god config file to look like this:

God.watch do |w|
  w.name = "simple"
  w.start = "ruby /full/path/to/simple.rb"
  w.keepalive(:memory_max => 150.megabytes,
              :cpu_max => 50.percent)
end

The 'sample.god' should be 'simple.god', I think this is typical misspelling.

lukeasrodgers added a commit to lukeasrodgers/god that referenced this issue Dec 12, 2014
@lukeasrodgers lukeasrodgers linked a pull request Dec 12, 2014 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant