gtk2reactor consumes loads of CPU on Ubuntu Hardy after SIGCHLD
|Reported by:||niemeyer||Owned by:|
The simple attached script will consume a lot of CPU for as long as it runs in the Ubuntu Hardy environment. I've tested it both with the Twisted version currently in Hardy (2.5.0-2build2), and also with the current trunk (revision 22957).
The issue is only reproducible with the glib2 reactor, and is not reproducible in Ubuntu Gutsy (even with Twisted trunk), which hints about behavior change in a dependency. It was also possible to execute the script a few times without getting the bad behavior, which might indicate a race somewhere.
Change History (8)
comment:1 Changed 9 years ago by
|Summary:||getProcessOutput() consumes loads of CPU on Ubuntu Hardy → gtk2reactor consumes loads of CPU on Ubuntu Hardy after SIGCHLD|