Re: HELP!! with mbuf clusters

From: Andrew <andrew@dont-contact.us>
Date: Fri, 1 May 1998 11:47:20 +1000

Ok Thanks, but with maxusers set to 500 it should be using 16000 or so mbuf
clusters if it is using the formula in param.h (512+ maxusers * 16)

The size was already on 256*1024*1024. :)

i PUT IT UP TO 512... do you think that's wise?

and i have changed the formula to 512 + maxusers * 32

hmmm maybe that'll work. Why would it be using so many any way though?

any more ideas? thanks again for your reply :)

Andrew Specht | System Administrator
E-mail: andrew@iaccess.com.au | Internet Access Australia
Internet: http://www.iaccess.com.au | Melbourne, Australia

-----Original Message-----
From: Duane Wessels <wessels@nlanr.net>
To: Andrew <andrew@iaccess.com.au>
Cc: squid-users@nlanr.net <squid-users@nlanr.net>
Date: Friday, May 01, 1998 11:38 AM
Subject: Re: HELP!! with mbuf clusters

>"Andrew" writes:
>
>>Hi,
>>
>>I really need some help with the mbuf clusters limit.
>>I'm running squid on freebsd3.0-current with a 14 Gig cache. and 256 Meg
of
>>Ram. The problem is that it crashes after about 2 days even with the
>>maxusers set to 500.
>
>don't set maxusers, set mbufs directly.
>
>I use:
>
> options "NMBCLUSTERS=10240"
>
>I haven't run out of mbufs with that setting.
>
>Alternatively, you might benefit by increasing the mbuf size.
>I found it reduced DNS lookup times
>
> options MSIZE="256"
>
>See http://squid.nlanr.net/Squid/FAQ/FAQ-13.html#ss13.2
>
>Duane W.
>
Received on Thu Apr 30 1998 - 18:53:34 MDT

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