Re: freebsd - mbuf clusters!!!

From: Peter Marelas <maral@dont-contact.us>
Date: Tue, 18 Aug 1998 17:17:57 +1000 (EST)

Maybe your hitting a _total_ kernel memory limit.

Whats vmstat -m look like..

Hmm..How many hits are you getting?
You might want to disable quick abort in squid.

On Tue, 18 Aug 1998, Andrew Specht wrote:

> Date: Tue, 18 Aug 1998 16:58:02 +1000
> From: Andrew Specht <andrew@iaccess.com.au>
> To: Peter Marelas <maral@phase-one.com.au>
> Cc: Squid Users <squid-users@ircache.net>
> Subject: Re: freebsd - mbuf clusters!!!
>
> i did that and i can't get them higher than 32000. IF i put them higher,
> then the machine won't boot.
>
> any more ideas?
>
> Thanks again
>
> -------------------------------------------------------------------
> "People who say money can't buy happiness
> just don't know where to shop"
>
>
> Andrew Specht
> System Administrator / Internet Access Australia
> andrew@iaccess.com.au
> http://www.iaccess.com.au
> -----Original Message-----
> From: Peter Marelas <maral@phase-one.com.au>
> To: Andrew Specht <andrew@iaccess.com.au>
> Cc: Squid Users <squid-users@ircache.net>
> Date: Wednesday, August 19, 1998 2:55 AM
> Subject: Re: freebsd - mbuf clusters!!!
>
>
> >Number of mbufs is calculated based on
> >
> >nmbufs = NMBCLUSTERS * 4;
> >
> >To increase them, add..
> >
> >options "NMBCLUSTERS=8192"
> >
> >to kernel conf and recompile.
> >
> >The default is calculated based on..
> >
> >NMBCLUSTERS = (512 + MAXUSERS * 16)
> >
> >I suspect that this is only an initial static value. It may grow
> dynamically
> >as many variables in freebsd do. If this is the case, you may be short on
> >memory.
> >
> >Regards
> >Peter Marelas
> >
> >On Tue, 18 Aug 1998, Andrew Specht wrote:
> >
> >> Date: Tue, 18 Aug 1998 14:18:40 +1000
> >> From: Andrew Specht <andrew@iaccess.com.au>
> >> To: Squid Users <squid-users@ircache.net>
> >> Subject: freebsd - mbuf clusters!!!
> >> Resent-Date: Mon, 17 Aug 1998 21:19:21 -0700 (PDT)
> >> Resent-From: squid-users@ircache.net
> >>
> >> Hi,
> >>
> >> i was wondering if anyone is running a high load proxy server on a
> freebsd
> >> machine and if you have any problems with the amount of mbuf cluster
> >> available?? Mine seems to be using up to 22000 mbuf clusters before the
> >> server runs out of them.
> >>
> >> Thanks in advance
> >>
> >> -------------------------------------------------------------------
> >> "People who say money can't buy happiness
> >> just don't know where to shop"
> >>
> >>
> >> Andrew Specht
> >> System Administrator / Internet Access Australia
> >> andrew@iaccess.com.au
> >> http://www.iaccess.com.au
> >>
> >
> >--
> >Regards
> >Peter Marelas
> >
> >
>

-- 
Regards
Peter Marelas
Received on Tue Aug 18 1998 - 00:19:05 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:38 MST