From owner-freebsd-stable@FreeBSD.ORG Thu May 3 16:55:20 2007 Return-Path: X-Original-To: freebsd-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 72F5D16A40A; Thu, 3 May 2007 16:55:20 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 3009313C4CB; Thu, 3 May 2007 16:55:20 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.191]) by hub.org (Postfix) with ESMTP id 76F4148A321; Thu, 3 May 2007 13:55:12 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 49291-08; Thu, 3 May 2007 13:55:19 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id D315B48A31F; Thu, 3 May 2007 13:55:11 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 78AC160344; Thu, 3 May 2007 13:55:26 -0300 (ADT) Date: Thu, 03 May 2007 13:55:26 -0300 From: "Marc G. Fournier" To: Chuck Swiger Message-ID: In-Reply-To: <4639FD24.9080508@mac.com> References: <8D083D1175D331F7E56AB69D@ganymede.hub.org> <4639FD24.9080508@mac.com> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: John-Mark Gurney , freebsd-stable@freebsd.org, Adrian Chadd Subject: Re: What triggers "No Buffer Space Available"? 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: Thu, 03 May 2007 16:55:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Thursday, May 03, 2007 11:17:56 -0400 Chuck Swiger wrote: > The ones you're showing are from Postfix. It would be interesting to sort > them by frequency and see what the majority of the use is from. > > If you sort the data by the conn field, do the ones without an address all > hit the same thing? If you grep for that in the first field, I found a lot > that are talking to /var/run/logpriv (ie, a socketpair() to syslogd, > presumably). Okay, assuming that I'm doing this right, here' what I have: Last night, before I went to bed: mars# netstat -A | grep stream | wc -l ; sockstat -u | wc -l 2705 2981 Today, 5 minutes ago: # netstat -A | grep stream | wc -l ; sockstat -u | wc -l 4397 2961 Looking at the Conn field from netstat -A: mars# awk '{print $6}' /tmp/output | sort | uniq -c | sort -nr | head -5 2125 0 1 d14dbe10 1 d14dbbd0 1 d14dbb40 1 d14dba20 So, 2125 sockets not connected to anything? - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGOhP+4QvfyHIvDvMRAhdvAKCZo5JRwFea0E8wb+iFblJ1aHM57gCdEb2T KMJhc7OT5kyQNMslL7Rm+LE= =+0kp -----END PGP SIGNATURE-----