On 11/19/2012 03:02 AM, Erez Sh wrote:
I think so because ffmpeg creates a lot of child processes, and it's
very possible that it creates a lot of files descriptors too. How can I
check if that really is the case?

When you say it "crashes", what does that mean? Does supervisord itself stop running? Or just your program? To be honest I'd look elsewhere for the problem unless you have some sort of evidence it's a file descriptor issue, because supervisor doesn't really share its file descriptors with the processes it launches (and therefore shares no limit with them).



On Sun, Nov 18, 2012 at 5:07 PM, Erez Sh <[email protected]
<mailto:[email protected]>> wrote:

    Hi,

    I'm running a python script through supervisord, and inside I run
    ffmpeg through the subprocess module.
    Occasionally, supposedly when ffmpeg works hard enough, the entire
    process tree (ffmpeg+python) crashes without a warning.

    I think it has something to do with
    https://github.com/Supervisor/supervisor/issues/26, but I can't be sure.

    What should I do? I'll be happy to hear suggestions.

    Thanks,
       Erez




_______________________________________________
Supervisor-users mailing list
[email protected]
https://lists.supervisord.org/mailman/listinfo/supervisor-users


_______________________________________________
Supervisor-users mailing list
[email protected]
https://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to