Supervisor/supervisor

100% CPU usage (maybe caused by new poll implementation?) (help wanted)

Open

#807 aperta il 6 ago 2016

Vedi su GitHub
 (82 commenti) (13 reazioni) (0 assegnatari)Python (1233 fork)batch import
help wanted

Metriche repository

Star
 (7941 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

We were using supervisor 3.3.0 on Ubuntu 14.04 LTS.

Recently on some of our nodes on AWS, we spot very high cpu usage about supervisord, to get around that, we have to reload it, but it may happen again in one day.

Reading from strace, we spot there are excessive calls to both 'gettimeofday' and 'poll', so after that, we have to choose to downgrade supervisor to 3.2.3.

I see there was #581, but I think it's irrelevant here, our wild guess is it just caused by the new poll implementation introduced in 3.3.0 (and maybe caused by simultaneous log outputs?)...

Thanks in advance!

Guida contributor