[DM] Worker threads leaking
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Zope 2 |
Fix Released
|
Undecided
|
Andreas Jung |
Bug Description
2. Introduction
With Zope 2.11, worker threads seem to be leaking.
I expect that uncaught exceptions are responsible for these leaks. Python will in this case catch the exceptions, write a message to stderr and abort the thread. In our production environment, stderr is redirected to /dev/null and it would be necessary to change the instance recipe to control the redirection (good old days with their easily modified shell scripts....).
3. Feature
Catch exceptions that could cause a thread's death and log them.
4. Example Use Cases
Try to avoid the worker leak that currently affects our production environment.
Andreas Jung (ajung) wrote : | #2 |
tags: | added: dm-committed |
Changed in zope2: | |
status: | New → Fix Committed |
Changed in zope2: | |
status: | Fix Committed → Fix Released |
ChrisW (chris-simplistix) wrote : | #3 |
I don't think "Fix Released" is an appropriate status for something that is still on a branch.
Andreas Jung (ajung) wrote : | #4 |
Patch merged to the Zope trunk (should appear with Zope 2.12.0b2:
Patch applied
http:// svn.zope. org/Zope/ branches/ haufe-legacy- integration/ ?rev=99821& view=rev