From owner-freebsd-stable@FreeBSD.ORG Wed May 2 17:34:56 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 3FC1A16A404 for ; Wed, 2 May 2007 17:34:56 +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 0370B13C468 for ; Wed, 2 May 2007 17:34:55 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.182]) by hub.org (Postfix) with ESMTP id B193148BEA5; Wed, 2 May 2007 14:34:53 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 99500-08; Wed, 2 May 2007 14:34:53 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 3E59648A32F; Wed, 2 May 2007 14:34:53 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 4A7A635460; Wed, 2 May 2007 14:34:55 -0300 (ADT) Date: Wed, 02 May 2007 14:34:55 -0300 From: "Marc G. Fournier" To: Adrian Chadd Message-ID: <7F7C3ECEFCC7914576DA2033@ganymede.hub.org> In-Reply-To: References: <366565EAE2F989935287015E@ganymede.hub.org> 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: freebsd-stable@freebsd.org 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: Wed, 02 May 2007 17:34:56 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Wednesday, May 02, 2007 11:00:17 +0800 Adrian Chadd wrote: > It doesn't panic whe it happens, no? Nope ... I can login via ssh (sometimes it takes a try or two, but I can always login) and then do a 'reboot', and all is well again for another 72 hours or so ... > I'd check the number of sockets you've currently got open at that > point. ie: # netstat | egrep "tcp4|udp4" | awk '{print $1}' | uniq -c 171 tcp4 103 udp4 or is there a better command I should be using? > Some applications might be holding open a whole load of sockets > and their buffers stay allocated until they're closed. If they don't > handle/don't get told about the error then they'll just hold open the > mbufs. Is there any way of determining which apps are holding open which sockets? ie. lsof for open files? - ---- 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) iD8DBQFGOMu/4QvfyHIvDvMRAldVAJ9B4uUUGbON16nWw+dR5QKveyQevACgju4M TtBVUWAqf2PGqHVQxOnRbew= =4/1c -----END PGP SIGNATURE-----