From owner-freebsd-stable@FreeBSD.ORG Wed Jun 13 16:36:14 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A962A16A509 for ; Wed, 13 Jun 2007 16:36:14 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id 6E54013C4B7 for ; Wed, 13 Jun 2007 16:36:14 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [82.171.39.195] (helo=guido.klop.ws) by smtp-out0.tiscali.nl with smtp (Tiscali http://www.tiscali.nl) id 1HyVAo-0006HI-AT for ; Wed, 13 Jun 2007 17:54:18 +0200 Received: (qmail 3279 invoked from network); 13 Jun 2007 15:54:07 -0000 Received: from localhost.thuis.klop.ws (HELO guido.klop.ws) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; 13 Jun 2007 15:54:07 -0000 Date: Wed, 13 Jun 2007 17:54:05 +0200 To: stable@freebsd.org From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <7ad7ddd90706130722t6731afa7j5fa9a78a3e87f9e5@mail.gmail.com> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <7ad7ddd90706130722t6731afa7j5fa9a78a3e87f9e5@mail.gmail.com> User-Agent: Opera Mail/9.21 (FreeBSD) Cc: Subject: Re: Unix domain socket leak in 6-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 13 Jun 2007 16:36:14 -0000 On Wed, 13 Jun 2007 16:22:45 +0200, Ulrich Spoerlein wrote: > Hi, > > as you are aware, there is a unix domain socket leak in 6-STABLE, > which AFAIK is not yet fully fixed. > > I wanted to ask about the status or some possible fixes, as I know a > way to reproduce the problem in a matter of minutes. > > We are running Cyrus and Postfix with the user DB in OpenLDAP. When > using ldapi://%2fvar%2frun%2fopenldap%2fldapi/ as a connection URL for > both Postfix' user lookup and cyrus' user lookup (via nss_ldap). slapd > quickly runs out of filedescriptors as it is not closing any unix > sockets (judging by ever increasing lsof output). Shouldn't slapd close its unix socket? Or am I misreading this. > Using TCP sockets is just fine. If there are patches I could try, > don't hesitate to send them to me. > > Cheers, > Uli Ronald. -- Ronald Klop Amsterdam, The Netherlands