Search squid archive

Squid on Freebsd 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can't understand what is missing to run Squid on a Freebsd 6.0 decently in 
a Dual PIII 750Mhz with 1gb RAM, 4 SCSI HDs with 18gb each.
We have in the past a Freebsd 4.8 box running squid for months without big 
problems, but with Freebsd 6.0 we are being crazy.
Squid runs well for 1 or 2 days and become very slow...
I'm sending the configuration we are using here. Any idea or tip will be 
apreciated.

loader.conf
autoboot_delay="5"
kern.ipc.maxsockets=32768
kern.ipc.nmbclusters=32768
kern.ipc.nmbufs=131072
kern.ipc.nsfbufs=6656
kern.ipc.shm_use_phys=1
kern.maxfiles=32768
kern.maxproc=8192
kern.maxswzone=33554432
kern.nbuf=16384
kern.ncallout=32768
kern.vm.kmem.size=268435456
kern.vm.pmap.shpgperproc=2048
net.inet.tcp.tcbhashsize=16384

sysctl.conf:
kern.polling.enable=1
net.inet.ip.fastforwarding=0
net.inet.tcp.path_mtu_discovery=1
net.link.ether.inet.log_arp_wrong_iface=0
vm.v_free_min=131072
vm.v_free_target=262144
vm.f_free_reserved=32768
vm.v_free_severe=65536
vfs.vmiodirenable=1
kern.ipc.somaxconn=8192
kern.ipc.maxsockets=16424
kern.ipc.maxsockbuf=16777216
net.inet.tcp.sendspace=1048576
net.inet.tcp.recvspace=1048576
net.inet.udp.recvspace=65535
net.inet.udp.maxdgram=57344
net.local.stream.recvspace=65535
net.local.stream.sendspace=65535

interesting things from my kernel:
options         MSGMNB=16384
options         MSGMNI=41
options         MSGSEG=2049
options         MSGSSZ=64
options         MSGTQL=512
options         SHMSEG=16
options         SHMMNI=32
options         SHMMAX=2097152
options         SHMALL=4096
options         MAXDSIZ="(1024*1024*1024)"
options         DFLDSIZ="(256*1024*1024)"
options         DEVICE_POLLING
options         HZ=1000

Squid:
Squid Cache: Version 2.5.STABLE12
configure 
options:  --prefix=/usr/local/squid --enable-snmp --enable-storeio=diskd,ufs 
 --enable-err-language=Portuguese --enable-default-err-language=Portuguese --enable-delay-pools 
 --enable-underscores --enable-removal-policies=lru,heap


Thanks in advance

Edinilson
---------------------------------------------------------
ATINET-Professional Web Hosting
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br 


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux