Re: [squid-users] Help Required : No buffer space available

From: David Brown <david@dont-contact.us>
Date: Wed, 17 Apr 2002 00:03:40 +0100

OK, I've tried this today, but I still get the same problems..

netstat -mb gives:

netstat -mb
151/384/16384 mbufs in use (current/peak/max):
        151 mbufs allocated to data
143/328/4096 mbuf clusters in use (current/peak/max)
752 Kbytes allocated to network (6% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

As you can see, the peak didn't even get within 10% of the maximum values,
so I'm not quite sure what's going on..

I don't know if it's a coincidence or related, but I did notice that these
errors came 5 minutes after a squid -k reconfigure command.

Are there any known problems with "-k reconfigure" ?

> I had the same problem on FreeBSD 4.4 and 4.2,
> when mb_map percentage wah high.
> I wondered, because the peak value was lower that max!
>
> I increased mbufs, and now I have
> # netstat -m
> 101/288/16384 mbufs in use (current/peak/max):
> 101 mbufs allocated to data
> 99/274/4096 mbuf clusters in use (current/peak/max)
> 620 Kbytes allocated to network (5% of mb_map in use)
> Add to /boot/loader.conf
> kern.ipc.nmbclusters="4096" # Set the number of mbuf clusters
> kern.ipc.nmbufs="16384" # Set the number of mbufs = 4 *
nmbclusters
>
> and reboot.
> Or recompile the kernel and reboot.
Received on Tue Apr 16 2002 - 17:04:16 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:35 MST