Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2001 16:10:57 -0500
From:      Bill Fumerola <billf@mu.org>
To:        Randy -Harborside Internet <randymb@harborside.com>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: TX buffer in 4.3
Message-ID:  <20010703161057.O47870@elvis.mu.org>
In-Reply-To: <JMECKPIMOJNMLPBBEGBDGEGNCAAA.randymb@harborside.com>; from randymb@harborside.com on Tue, Jul 03, 2001 at 01:53:43PM -0700
References:  <JMECKPIMOJNMLPBBEGBDGEGNCAAA.randymb@harborside.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[ not -hackers material, moved to questions ]

On Tue, Jul 03, 2001 at 01:53:43PM -0700, Randy -Harborside Internet wrote:
> We are having a problem with our mail server. It recently got
> upgraded to 4.3 from 4.2, and now it is having problems with the TX
> buffer somehow on the network card. Every once in awhile it will shut
> off all network traffic and give these errors:
> no memory for tx listrl0
> Then in a few minutes (presumably when the buffer is flushed somehow)
> the network device resumes normal operation.

s#flushed#drained#

> We have tried 3 different NICs, and all have had the same problem.
> The three models were:
> 1. Realtek RTL8139A 10/100TX

rl(4):
     rl%d: no memory for tx list  The driver failed to allocate an mbuf for
           the transmitter ring when allocating a pad buffer or collapsing an mbuf
           chain into a cluster.

> 2. Intel chipset:82558B

fxp(4):
     fxp%d: Failed to malloc memory  There are not enough mbuf's available for
            allocation.

> 3. 3Com somethingerather. 

I'll assume you mean the etherlink(3c905) chips...

xl(4):
     xl%d: no memory for tx list  The driver failed to allocate an mbuf for
           the transmitter ring when allocating a pad buffer or collapsing an mbuf
	   chain into a cluster.

> We are running with 512MB of RAM, and it usually has about 200 or
> more megs free at the time of this occurance.

Which doesn't matter if you don't allocate enough memory to the mbuf subsystem.
See below.

> Is this a problem with the network drivers in 4.3? Or something else
> that can be corrected? (Manual way to flush the network card
> buffers??)

Flush the network card buffers? That really wouldn't help anything.

> Here is the output of ulimit -a, just in case that helps.

It doesn't.

If you look at the output of 'netstat -m' you'll see you've run mbufs
(well, mbuf clusters) and that is whats causing this problem. The
"requests for memory" lines will show you how many times this has bitten
you in the proverbial ass.

options NMBCLUSTERS is your friend.

-- 
Bill Fumerola - security yahoo         / Yahoo! inc.
              - fumerola@yahoo-inc.com / billf@FreeBSD.org




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010703161057.O47870>