From owner-freebsd-stable@FreeBSD.ORG Wed Jul 30 08:47:42 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E114F37B408 for ; Wed, 30 Jul 2003 08:47:41 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0C7643F75 for ; Wed, 30 Jul 2003 08:47:40 -0700 (PDT) (envelope-from freebsd-stable@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19htAD-0002bz-00 for ; Wed, 30 Jul 2003 17:46:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19ht9k-0002YQ-00 for ; Wed, 30 Jul 2003 17:46:24 +0200 From: othermark Date: Wed, 30 Jul 2003 15:46:24 +0000 (UTC) Lines: 22 Message-ID: References: X-Complaints-To: usenet@main.gmane.org User-Agent: slrn/0.9.7.4 (FreeBSD) Sender: news Subject: Re: stable libmilter leaks kqueue descriptors? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2003 15:47:43 -0000 In article , othermark wrote: > 2. have some ideas on how to track down this leakage? I've looked > at the dccm source and it seems to be using milter correctly > (as it was working fine with an older version of sendmail), but > maybe other excellent users have tracked down kqueue leakage > before. I found this pr, which seems to be a likely candidate. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/55007 dccm is threaded, but libmilter does not call kqueue directly, but based on other searches, I'm suspecting that various calls are implemented using kqueue, kevent (select(), poll(), etc..). I see some evidence of this in the sources, but I'm not familiar enough with the kernel code to say absolutely that these code paths are executed. --- Mark atkin901 at NOSPAM yahoo dot com (!wired)?(coffee++):(wired);