[ 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.
              - [EMAIL PROTECTED] / [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to