NetBSD Problem Report #20039

Received: (qmail 244 invoked by uid 605); 24 Jan 2003 15:06:19 -0000
Message-Id: <200301241506.h0OF6B700537@way.thistledown.com.au>
Date: Sat, 25 Jan 2003 02:06:12 +1100 (EST)
From: simonb@wasabisystems.com
Sender: gnats-bugs-owner@netbsd.org
Reply-To: simonb@wasabisystems.com
To: gnats-bugs@gnats.netbsd.org
Subject: mbuf leak using rp-pppoe
X-Send-Pr-Version: 3.95

>Number:         20039
>Category:       kern
>Synopsis:       mbuf leak using rp-pppoe
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 24 15:07:00 +0000 2003
>Closed-Date:    
>Last-Modified:  
>Originator:     Simon Burge
>Release:        NetBSD 1.6_STABLE from December 1, 2002
>Organization:
Wasabi Systems
>Environment:
System: NetBSD way 1.6_STABLE NetBSD 1.6_STABLE (WAY)
	#1: Sun Dec 1 01:25:28 EST 2002
	simonb@thoreau:/NetBSD/src16/sys/arch/i386/compile/WAY i386

Architecture: i386
Machine: i386

Extra software:
	rp-pppoe 2.6 or 3.5

>Description:
	Using rp-pppoe (version doesn't seem to matter) on a firewall
	type box, I'm seeing an mbuf leak that seems to correspond
	to roughly one mbuf for each new outbound TCP connection
	over the ppp interface.  These mbufs aren't freed after
	the TCP connection finishes.

	Here's a short log:

	way:~ 22> netstat -m | grep 'mbufs allocated to data'
		360 mbufs allocated to data
	way:~ 23> ssh cvs.netbsd.org uptime
	 2:34PM  up 33 days,  3:53, 8 users, load averages: 1.59, 1.97, 1.83
	way:~ 24> netstat -m | grep 'mbufs allocated to data'
		361 mbufs allocated to data
	way:~ 25> ssh cvs.netbsd.org uptime
	 2:34PM  up 33 days,  3:53, 8 users, load averages: 1.53, 1.94, 1.82
	way:~ 26> netstat -m | grep 'mbufs allocated to data'
		362 mbufs allocated to data
	way:~ 27> ssh cvs.netbsd.org uptime
	 2:34PM  up 33 days,  3:54, 8 users, load averages: 1.40, 1.89, 1.81
	way:~ 28> netstat -m | grep 'mbufs allocated to data'
		363 mbufs allocated to data

	This box used to run the 1.5 branch using the same rp-pppoe
	package and had no mbuf leak problems.

	A friend has a box running 1.6 STABLE with a similar firewall
	configuration (talking to the same ADSL provider) and
	doesn't have the problem, while another friend has a
	workstation type box with rp-pppoe and does see the problem
	(also with 1.6 STABLE).  This doesn't make it any easier
	to track down the problem :(


>How-To-Repeat:
	Use rp-pppoe, start outgoing connections (but not in all
	configurations).

>Fix:
	None given.
>Release-Note:
>Audit-Trail:
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.