You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
66 # restart if memory gets too high
67 w.transition(:up, :restart) do |on|
68 on.condition(:memory_usage) do |c|
69 c.above = 200.megabytes
70 c.times = 2
71 end
72 end
I'm having issues finding the reasonable limit. I'd to get more information (e.g. current memory usage, timestamps) right before the process restarts or when this condition is met.
The /var/log/god.log doesn't show much info except
I [2015-07-20 10:39:19] INFO: Loading /opt/god/god.conf
I [2015-07-20 10:39:19] INFO: Syslog enabled.
I [2015-07-20 10:39:19] INFO: Using pid file directory: /var/run/god
I [2015-07-20 10:47:48] INFO: Loading /opt/god/god.conf
I [2015-07-20 10:47:48] INFO: Syslog enabled.
I [2015-07-20 10:47:48] INFO: Using pid file directory: /var/run/god
I [2015-07-22 09:38:26] INFO: Loading /opt/god/god.conf
I [2015-07-22 09:38:26] INFO: Syslog enabled.
...
Please help.
The text was updated successfully, but these errors were encountered:
knd
changed the title
How to check (or log out) memory_usage by a worker process before it restarts?
How to check (or log) memory_usage by a worker process before it restarts?
Aug 2, 2016
I currently have this setting.
I'm having issues finding the reasonable limit. I'd to get more information (e.g. current memory usage, timestamps) right before the process restarts or when this condition is met.
The
/var/log/god.log
doesn't show much info exceptPlease help.
The text was updated successfully, but these errors were encountered: