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

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

Open
malexeev opened this issue Jun 16, 2016 · 2 comments
Open

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

malexeev opened this issue Jun 16, 2016 · 2 comments
Labels

Comments

@malexeev
Copy link

malexeev commented Jun 16, 2016

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 mnaberez added the httpok label Sep 4, 2016
@mnaberez
Copy link
Member

mnaberez commented Sep 4, 2016

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 mnaberez closed this as completed Sep 4, 2016
@mnaberez
Copy link
Member

mnaberez commented Sep 5, 2016

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

@mnaberez mnaberez reopened this Sep 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants