Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2004 10:16:06 +0100 (CET)
From:      Andrzej Kwiatkowski <kwiatek@tpi.pl>
To:        questions@freebsd.org
Subject:   freebsd 5.3 and squid problems
Message-ID:  <20041222101311.B4080@kwiatek.eu.org>

next in thread | raw e-mail | index | archive | help

Hello

I'm trying to run reverse proxy on ma 5.3 Stable .
My problem with squid is that squid stops accepting
new connections, all are timeouted.

My kernel config is:

options SYSVSHM
options SHMSEG=16
options SHMMNI=32
options SHMMAX=2097152
options SHMALL=4096

options SYSVMSG
options MSGMNB=16384
options MSGMNI=40
options MSGSEG=4096
options MSGSSZ=64
options MSGTQL=4096

sysctl.conf:

vfs.vmiodirenable=1
kern.ipc.maxsockbuf=2097152
kern.ipc.somaxconn=8192
kern.ipc.maxsockets=16424
kern.maxfiles=65536
kern.maxfilesperproc=32768
net.inet.tcp.rfc1323=1
net.inet.tcp.delayed_ack=0
net.inet.tcp.sendspace=65535
net.inet.tcp.recvspace=65535
net.inet.udp.recvspace=65535
net.inet.udp.maxdgram=57344
net.local.stream.recvspace=65535
#

kern.threads.max_threads_per_proc=16384
kern.threads.max_groups_per_proc=16384


and boot/loader.conf
kern.ipc.maxsockets=16424


Have got any idea ??

All disks are scsi, i've tried cache on ufs and on diskd,

On network interfaces is traffic about 80Mbit/s...

Regards
AK



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041222101311.B4080>