From owner-freebsd-stable@FreeBSD.ORG Thu Mar 30 00:18:20 2006 Return-Path: X-Original-To: stable@freebsd.org 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 0E97F16A401 for ; Thu, 30 Mar 2006 00:18:20 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout09-04.prod.mesa1.secureserver.net (smtpout09-04.prod.mesa1.secureserver.net [64.202.165.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 801DF43D55 for ; Thu, 30 Mar 2006 00:18:19 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 7856 invoked from network); 30 Mar 2006 00:18:18 -0000 Received: from unknown (24.144.77.138) by smtpout09-04.prod.mesa1.secureserver.net (64.202.165.17) with ESMTP; 30 Mar 2006 00:18:18 -0000 Message-ID: <442B23CA.3060808@seclark.us> Date: Wed, 29 Mar 2006 19:18:18 -0500 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: 4.9 network not freeing memory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 00:18:20 -0000 Hi, I realize this is a very old release but we have over a 1000 systems deployed so it is hard to upgrade. Anyway we are using gre/vpn/gif. If I stress test the system with netperf or nttcp I eventually run into the situation where netperf is in sbwait state and it stays there forever. I can't log into the machine with ssh but I can go in thru the console. If I try to ping localhost I get ping: sendto: No buffer space available. The only recourse to get things going again is reboot. If I do and netstat -m it shows I have mbufs available. The system is a Duron 1.6ghz with 256 mb of memory. What I am looking for is some direction on how to further diagnose the problem. this is before the problem $ netstat -m 2/736/131072 mbufs in use (current/peak/max): 2 mbufs allocated to data 0/672/32768 mbuf clusters in use (current/peak/max) 1528 Kbytes allocated to network (1% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines this is after the problem: 965/1376/131072 mbufs in use (current/peak/max): 965 mbufs allocated to data 872/876/32768 mbuf clusters in use (current/peak/max) 2096 Kbytes allocated to network (2% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Any ideas would be greatly appreciated. Steve