freebsd 5.3 and squid problems

Andrzej Kwiatkowski kwiatek at tpi.pl
Wed Dec 22 01:16:24 PST 2004


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


More information about the freebsd-questions mailing list