Skip to content

memmon and program with multiple processes? #116

@FoxxMD

Description

@FoxxMD

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions