Date: Wed, 13 Jun 2007 11:22:16 -0700 From: Jeremy Chadwick <koitsu@FreeBSD.org> To: "Marc G. Fournier" <freebsd@hub.org>, stable@freebsd.org, rwatson@freebsd.org Subject: Re: Unix domain socket leak in 6-STABLE Message-ID: <20070613182216.GA19533@eos.sc1.parodius.com> In-Reply-To: <20070613181555.GA1506@roadrunner.q.local> References: <7EEECFAE63E9B976653B3254@ganymede.hub.org> <20070613181555.GA1506@roadrunner.q.local>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 13, 2007 at 08:15:56PM +0200, Ulrich Spoerlein wrote: > I wonder though: maxfilesperproc is roughly 12k, but lsof needs to only > count 2.5k lines of slapd output when the limit is hit. Is there > a better way to check, how much fds/resources are open by a certain process? sockstat is what you're looking for. Also, do not forget about limits(1). If the sockets aren't being closed (in any condition; after completion or after error), there's going to be a leak until the daemon is restarted. I wouldn't be surprised if this is what's happening, based on previous experience I've had with slapd during my day job. :-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070613182216.GA19533>