Re: interpreting netstat -m output

2002-09-04 Thread Dmitry Morozovsky
On Thu, 5 Sep 2002, Dmitry Morozovsky wrote: DM> AFAIK according to /usr/src/sys/*/param.h, mbuf size if 256 (at least for DM> i386, see /usr/src/sys/i386/include/param.h, and is not defined for DM> Alphas); DM> DM> and mbcluster size defaults to 2k (I suppose the smallest 2^x to DM> cover standa

Re: interpreting netstat -m output

2002-09-04 Thread Dominic Marks
On Thu, Sep 05, 2002 at 02:04:05AM +0400, Dmitry Morozovsky wrote: > On Wed, 4 Sep 2002, Dominic Marks wrote: > > DM> An mbuf is a fixed length structure which contains network data. > DM> > DM> An mbuf cluster is associated with an area of memory which is used for > DM> storing more data than yo

Re: interpreting netstat -m output

2002-09-04 Thread Dmitry Morozovsky
On Wed, 4 Sep 2002, Dominic Marks wrote: DM> An mbuf is a fixed length structure which contains network data. DM> DM> An mbuf cluster is associated with an area of memory which is used for DM> storing more data than you can fit in a single mbuf. DM> DM> According the D&I 4.4 an mbuf is 128 bytes

Re: interpreting netstat -m output

2002-09-04 Thread Dominic Marks
On Wed, Sep 04, 2002 at 01:47:58PM -0700, Mike Hoskins wrote: > On Wed, 4 Sep 2002, Charles Sprickman wrote: > > What is the difference between the "mbufs in use" line and the "mbuf > > clusters in use" line? An mbuf is a fixed length structure which contains network data. An mbuf cluster is ass

Re: interpreting netstat -m output

2002-09-04 Thread Mike Hoskins
On Wed, 4 Sep 2002, Charles Sprickman wrote: > What is the difference between the "mbufs in use" line and the "mbuf > clusters in use" line? I've wondered precisely this; perhaps one specifically relates to the network? The farthest I got was netstat(1), which points to a nonexistant mbuf(9). L

interpreting netstat -m output

2002-09-04 Thread Charles Sprickman
Hi, I'm working with a box that is apparently running out of mbufs: looutput: mbuf allocation failed looutput: mbuf allocation failed All mbuf clusters exhausted, please see tuning(7). Looking at netstat -m, I get the following: 144/9472/26624 mbufs in use (current/peak/max): 134 mbufs