Supervisor / superlance

Superlance utilities for use with the Supervisor process control system
http://supervisord.org
Other
451 stars 147 forks source link

httpok does not seem to be able to restart fcgi-program #81

Open malexeev opened 8 years ago

malexeev commented 8 years ago

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.

mnaberez commented 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.
mnaberez commented 8 years ago

Oops, -g works in memmon but not httpok. Reopening.