Re: [squid-users] "comm_open: socket failure: (55) No buffer space available" error

From: Hegedus, Ervin <airween@dont-contact.us>
Date: Tue, 21 Jan 2003 14:50:04 +0100

Hello,

> I am running squid2.5 STABLE1 and my OS freeBSD4.7.
> I get the following error message when I startup squid.
>
> "comm_open: socket failure: (55) No buffer space available"
>
> I was advised tuneup NMBCLUSTERS in freeBSD kernel & i have
> increased this value to 20,480 but I still get this error
what do you get, when you type:

netstat -mb

i get these:
1221/11088/65536 mbufs in use (current/peak/max):
        1221 mbufs allocated to data
1217/10972/16384 mbuf clusters in use (current/peak/max)
24716 Kbytes allocated to network (50% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

did you put these lines to /boot/loader.conf?

root@proxy:# cat /boot/loader.conf
# -- sysinstall generated deltas -- #
userconfig_script_load="YES"
kern.ipc.nmbclusters="16384"
kern.ipc.nmbufs="65536"
kern.ipc.maxfiles="2048"

Good luck:
air
Received on Tue Jan 21 2003 - 06:50:07 MST

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