Supervisor / supervisor

Supervisor process control system for Unix (supervisord)
http://supervisord.org
Other
8.53k stars 1.25k forks source link

supervisord process cpu use very high #1612

Closed xhhan closed 11 months ago

xhhan commented 11 months ago

Environment:

Supervisord versions: 3.3.2 and 4.2.4 OS system: Debian 8.9

Behavior:

The CPU usage of the supervisord process is very high (80%-90%). I ran strace and found a lot of "gettimeofday" calls. I performed profiling and found the following trace: "supervisord.py (runforever) -> process.py (transition) -> time_time -> gettimeofday". This trace may indicate a problem. It seems like the process is constantly checking the status, leading to high CPU usage. What should I do to address this?

xhhan commented 11 months ago

emmm

mnaberez commented 11 months ago

Duplicate of #807