Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: File descriptor leak involving kqueue
On Tue, Dec 13, 2016 at 07:58:22PM +0100, Tom Ivar Helbekkmo wrote:
> Lately, I'm running my postfix with opendkim and opendmarc milters (both
> from pkgsrc). Something about opendmarc is bleeding the system empty of
> file handles, and I'd appreciate some help thinking about how to find
> out exactly what's going on.
It seems pretty obvious that OpenDMARC is not correctly managing
ressources. It creates an on-stack res_state, initialized it with
res_ninit, but never destroys it. Arguable, res_nclose should free the
associated kqueue for the /etc/resolv.conf watcher, but the code is
certainly leaky and wrong.
Joerg
Home |
Main Index |
Thread Index |
Old Index