After a supervisor crash, how to restart without killing the whole process?

I have a problem with supervisord crashing due to out of memory. I know what is causing this (other processes are consuming too much memory), but it will take a little time to fix. In the meantime, I would like to return the supervisor if it works. The problem here is that she won't pick up where she left off and forget about all the existing processes. It seems to just try to restart all processes, rather than admit they are already running.

Is this a problem in my configuration (pid files are not in the right place or something, it seems to be correct though), or is this just how supervisor works? Are there any workarounds to make the manager process continue where it left off before it crashed?

+3


source to share





All Articles