average loaded site (about 1000 users), fast machine, lots of ram, fxp interfaces (no realteks), squid reports 32768 filedescriptors available

[EMAIL PROTECTED] ~]# limits -U squid
Resource limits for class squid:
  cputime          infinity secs
  filesize         infinity kB
  datasize         infinity kB
  stacksize        infinity kB
  coredumpsize            0 kB
  memoryuse        infinity kB
  memorylocked     infinity kB
  maxprocesses           64
  openfiles           32768
  sbsize           infinity bytes
  vmemoryuse       infinity kB
[

/etc/sysctl.conf:

kern.ipc.somaxconn=65535
kern.ipc.nmbclusters=32768
net.inet.tcp.delayed_ack=0
net.inet.icmp.icmplim=500
vm.defer_swapspace_pageouts=1
net.inet.tcp.sendspace=65536
net.inet.tcp.recvspace=65536
kern.ipc.shmseg=128
kern.ipc.shmall=16384
kern.maxfiles=65536
kern.maxfilesperproc=32768
kern.ipc.nmbclusters=131072
net.inet.ip.portrange.last=65535
vfs.lorunningspace=3145728
vfs.hirunningspace=6291456
net.inet.tcp.msl=5000

vfs.root.mountfrom="ufs:ad0a"
kern.cam.scsi_delay="1000"
kern.ipc.msgseg=1024
kern.ipc.msgssz=128
kern.ipc.msgtql=8192
kern.ipc.msgmnb=65536
kern.ipc.msgmni=100
kern.ipc.msgmax=8192
kern.maxproc=1000
kern.maxbcache=134217728
kern.dfldsiz=2147483648
kern.maxdsiz=2147483648



in dmesg i found lots of

ipfw: pullup failed


CPU load is always <10%, it's P4 machine with 2GB ram (much more than squid uses) running FreeBSD 6.2-RC1, 3 interfaces - out output, 2 for different connections, ipfw is used with only 1 line.



any more ideas?
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to