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

memmon and program with multiple processes? #116

Open
FoxxMD opened this issue Nov 1, 2018 · 2 comments
Open

memmon and program with multiple processes? #116

FoxxMD opened this issue Nov 1, 2018 · 2 comments
Labels

Comments

@FoxxMD
Copy link

FoxxMD commented Nov 1, 2018

I have a program that runs with multiple processes like this in my supervisord.conf

[program:firehose]
process_name=%(program_name)s_%(process_num)02d
command=php artisan doctrine:queue:work beanstalkd --queue=firehose --tries=5 --sleep=5 --delay=0 --daemon
directory=/var/app/current/
autostart=true
autorestart=true
numprocs=5

looks like this in supervisorctl status

firehose:firehose_00                                       RUNNING   pid 26265, uptime 0:13:09
firehose:firehose_01                                       RUNNING   pid 26264, uptime 0:13:09
firehose:firehose_02                                       RUNNING   pid 26267, uptime 0:13:09
firehose:firehose_03                                       RUNNING   pid 26266, uptime 0:13:09
firehose:firehose_04                                       RUNNING   pid 26263, uptime 0:13:09

I have successfully caught these using memmon -a but I can't get memmon to monitor just the program (all 5 processes). I have tried

-p firehose=100MB
-g firehose=100MB
-p firehose:firehose_00=100MB <-- example trying to monitor just one

but none of these have worked. What am I missing here?

@FoxxMD
Copy link
Author

FoxxMD commented Apr 2, 2019

Should I consider superlance no longer actively maintained? This is still a big problem for me. If I took the time to learn the python necessary to fix this would a PR even be accepted?

@odedfos
Copy link

odedfos commented Feb 12, 2020

You'd expect this to work, since it's the syntax used to manage the entire group of processes
-p firehose:*=100MB
But it doesn't either...

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

3 participants