Harald Friessnegger wrote: > is there a way, or is there a plan to be able to monitor the memory usage of > a > process and all it's subprocesses using memmon?
Supervisor itself can't manage any process that it doesn't itself start. This is because supervisor relies on signals sent by its children in order to turn these into events that are processed and notify event listeners. These same signals are not sent to supervisor by children of processes not themselves started by supervisor. This won't change in any near future unless someone knows some way around it (maybe via some process group thing or something). I certainly don't know how to make it happen portably. It can of course event listeners can do *anything* when they subscribe to TICK events. So what you describe (summing up process memory usage of all processes that have a ppid of some process managed by supervisor) could be done. You could probably change memmon to do so; I'm not sure whether it can be done completely portably but probably so. - C _______________________________________________ Supervisor-users mailing list [email protected] http://lists.supervisord.org/mailman/listinfo/supervisor-users
