thread leakage

From: Daniel Black <daniel.subs_at_internode.on.net>
Date: Wed, 23 Feb 2011 20:12:59 +1100

On Wednesday 23 February 2011 14:57:21 Murray S. Kucherawy wrote:
> On Wed, 23 Feb 2011, Daniel Black wrote:
> > just watch out for thread leakage that I found on a machine.
> >
> > $ ls /proc/`pidof opendkim`/task/| wc -l
> >
> > I haven't found the cause. Was on a debian machine. updateing to
> > unbound-1.4.8 didn't help.
>
> Are you seeing any errors from opendkim related to timeouts?

Didn't see any however I did set the milter_command timeout to 3seconds so its
likely.

> 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.
Received on Wed Feb 23 2011 - 09:12:27 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:33:08 PST