Date: Fri, 8 Feb 2002 16:52:44 +0200 From: "Artis Caune" <ac@latnet.lv> To: "Jorge Bianquetti de las Heras" <jbianquetti@sadiel.es>, <francisv@dagupan.com> Cc: <freebsd-isp@FreeBSD.ORG> Subject: Re: Tuning FreeBSD for Squid proxy/cache Message-ID: <00c301c1b0b0$447cb240$bc6c949f@box> References: <10F29E27A956D511B0940050DA8D86A9340ECB@apmail.dagupan.com> <20020208124905.06f9f242.jbianquetti@sadiel.es>
next in thread | previous in thread | raw e-mail | index | archive | help
*) kern.ipc.maxsockbuf=2097152 what is this tuning for ? is it socket buffer? *) kern.ipc.maxsockets=16424 it`s read only! :( this tune maximum sockets on box ? _ Artis http://www.ltn.lv/~ac FingerPrint: 57E1 4C1A 4638 A306 9055 4E4B 1035 376A 0523 8936 > Use sysctl > > First, you must increase your net resources: > > 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 > net.local.stream.sendspace=65535 > > Second you must increase process and files > > kern.ipc.maxsockbuf=2097152 > kern.ipc.somaxconn=8192 > kern.ipc.maxsockets=16424 > kern.maxfiles=65536 > kern.maxfilesperproc=32768 > > Third, recompile kernel and be carefull with this. > Works 100% stable for me. Use with care! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00c301c1b0b0$447cb240$bc6c949f>