RE: thread leakage

From: Murray S. Kucherawy <msk_at_cloudmark.com>
Date: Wed, 23 Feb 2011 05:36:07 -0800

> -----Original Message-----
> From: opendkim-dev-bounce_at_lists.opendkim.org [mailto:opendkim-dev-bounce_at_lists.opendkim.org] On Behalf Of Daniel Black
> Sent: Wednesday, February 23, 2011 1:13 AM
> To: opendkim-dev_at_lists.opendkim.org
> Subject: thread leakage
>
> > libmilter creates one thread per connection in typical builds.
> > thanks for the hint.
> >
> > If the DNS goes dead, they could pile up waiting to time out.
>
> I'd assume on timeout the threads would terminate which isn't what I'm seeing.
> It behaves like a slow leak.

Are you able to attach to the process when it's leaked some threads and get a dump of all the thread stacks? This would show where the threads are being created (i.e. if it's libmilter, opendkim or unbound) and indicate where and why they're stuck.
Received on Wed Feb 23 2011 - 13:36:15 PST

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sun May 15 2011 - 15:59:40 PST