[DM] Worker threads leaking

Bug #373621 reported by Andreas Jung on 2009-05-08
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
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 :
Changed in zope2:
assignee: nobody → Andreas Jung (ajung)
Andreas Jung (ajung) on 2009-05-10
tags: added: dm-committed
Andreas Jung (ajung) on 2009-05-10
Changed in zope2:
status: New → Fix Committed
Andreas Jung (ajung) on 2009-05-12
Changed in zope2:
status: Fix Committed → Fix Released
ChrisW (chris-simplistix) wrote :

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

Andreas Jung (ajung) wrote :

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


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

Duplicates of this bug

Other bug subscribers