Closed Bug 595187 Opened 16 years ago Closed 16 years ago

buildbot processes don't always stop after 'make stop'

Categories

(Release Engineering :: General, defect, P3)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: catlee)

Details

Attachments

(1 file)

We often have zombie buildbot processes lying around after stopping buildbot with 'make stop'. I suspect the ThreadedLogHandler stuff, but can't be sure. The processes are stuck on a futex and need to be kill -9'ed to go away.
Priority: -- → P3
So, in buildbot/twisted land, a service's disownServiceParent method isn't called when the reactor is shutting down. This means the thread pool is still running, waiting for stuff to do after the main application has shut down. disownServiceParent does get called for reconfigs though, so we haven't been creating extra pools on each reconfig. Tweaking the log handler slightly, we now shutdown the threadpool in stopService which is called both by shutdown and by reconfig. Tested locally, not on staging-master yet.
Attachment #482988 - Flags: review?(rail)
Attachment #482988 - Flags: review?(rail) → review+
Flags: needs-reconfig?
Comment on attachment 482988 [details] [diff] [review] Use stopService to stop the thread pool changeset: 1008:f7e2d97df5d4
Attachment #482988 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Flags: needs-reconfig? → needs-reconfig+
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: