#1704·supervisor

duplicate FDs

Author: justinpryzbyCreated Dec 6, 2025Updated Dec 31, 2025

I've suspected a continuing problem with FDs [0], and just discovered that files are sometimes opened multiple times. I suspect this is a symptom of some underlying problem.

$ sudo ls -l /proc/pgrep supervisord/fd |grep eutr lr-x------ 1 root root 64 Dec 5 20:34 15 -> /home/telsasoft/server/log/log.eric_eutran l-wx------ 1 root root 64 Dec 5 20:34 17 -> /home/telsasoft/server/log/log.eric_eutran lr-x------ 1 root root 64 Dec 5 20:36 83 -> /home/telsasoft/server/log/log.eric_eutran

A few seconds later: $ sudo ls -l /proc/pgrep supervisord/fd |grep eutr lr-x------ 1 root root 64 Dec 5 20:34 15 -> /home/telsasoft/server/log/log.eric_eutran l-wx------ 1 root root 64 Dec 5 20:34 17 -> /home/telsasoft/server/log/log.eric_eutran

There is only one process, with: stdout_logfile = /home/telsasoft/server/log/log.%(program_name)s

Note that it does fork multiple child processes.

I suspect this has caused service outages, and I also suspect I'll find more of these. Let me know what more information I can collect next time.

This might be related to other issues (#984, #1110).

[0] https://github.com/Supervisor/supervisor/issues/807#issuecomment-3419828026