Open malexeev opened 8 years ago
Use -g
instead of -p
.
-g -- specify a group_name=byte_size pair. Restart any process in this group
when it uses more than byte_size RSS.
Oops, -g
works in memmon
but not httpok
. Reopening.
It seems that httpok cannot restart whole group defined as fcgi-program
Say, if I have defined it like this: [fcgi-program:test-fcgi] ...
Then "httpok -p test-fcgi:*" or "httpok -p test-fcgi" do not seem to restart the group. But if I list all fast-cgi processes one by one: -p test-fcgi:test-fcgi_20 -p test-fcgi:test-fcgi_21 and so on - then it seems to work as expected
it would be nice if httok could restart whole group/fast-cgi as at once.