[DM] Worker threads leaking

Bug #373621 reported by Andreas Jung
18
This bug affects 3 people
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.

Tags: dm-committed
Revision history for this message
Andreas Jung (ajung) wrote :
Changed in zope2:
assignee: nobody → Andreas Jung (ajung)
Revision history for this message
Andreas Jung (ajung) wrote :
Andreas Jung (ajung)
tags: added: dm-committed
Andreas Jung (ajung)
Changed in zope2:
status: New → Fix Committed
Andreas Jung (ajung)
Changed in zope2:
status: Fix Committed → Fix Released
Revision history for this message
ChrisW (chris-simplistix) wrote :

I don't think "Fix Released" is an appropriate status for something that is still on a branch.

Revision history for this message
Andreas Jung (ajung) wrote :

Patch merged to the Zope trunk (should appear with Zope 2.12.0b2:

http://svn.zope.org/Zope/trunk/?rev=99866&view=rev

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.