[ previous ] [ next ] [ threads ]
 From:  Chris Buechler <cbuechler at gmail dot com>
 To:  Roberto Pereyra <rjpereyra at gualeguaychu dot gov dot ar>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] m0n0wall mbufs exhausted
 Date:  Sun, 19 Sep 2004 22:10:29 -0400
On Sat, 18 Sep 2004 20:52:48 -0300, Roberto Pereyra
<rjpereyra at gualeguaychu dot gov dot ar> wrote:
> Hi all
> My m0n0wall freeze many times a day and I have this logs errors:
> What's happens ?
> Maybe "Sep 18 16:58:43 villa /kernel: All mbufs exhausted, please see tuning(7)" .
> What I can do ?
> I have a Duron AMD CPU with 98MB ram.

Go to http[s]://m0n0/exec.php and run 'netstat -m'.

Output should be something like this:

$ netstat -m
199/432/4096 mbufs in use (current/peak/max):
	199 mbufs allocated to data
196/300/1024 mbuf clusters in use (current/peak/max)
708 Kbytes allocated to network (23% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

I've maxed out at 432 out of 4096, on a heavily used 4 Mb connection.  

In normal circumstances, this really shouldn't ever happen.  Are you
sure there aren't several worm infected machines on your LAN hammering
your firewall to death?

from 'man vr':

     vr%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.