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)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: catlee, Assigned: catlee)
Details
Attachments
(1 file)
|
1.22 KB,
patch
|
rail
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Updated•16 years ago
|
Priority: -- → P3
| Assignee | ||
Comment 1•16 years ago
|
||
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)
Updated•16 years ago
|
Attachment #482988 -
Flags: review?(rail) → review+
| Assignee | ||
Updated•16 years ago
|
Flags: needs-reconfig?
| Assignee | ||
Comment 2•16 years ago
|
||
Comment on attachment 482988 [details] [diff] [review]
Use stopService to stop the thread pool
changeset: 1008:f7e2d97df5d4
Attachment #482988 -
Flags: checked-in+
| Assignee | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•16 years ago
|
Flags: needs-reconfig? → needs-reconfig+
Updated•13 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•