From owner-freebsd-isp Fri Feb 8 3:54:13 2002 Delivered-To: freebsd-isp@freebsd.org Received: from smtp04.retemail.es (smtp04.iddeo.es [62.81.186.14]) by hub.freebsd.org (Postfix) with ESMTP id 2B1E737B421 for ; Fri, 8 Feb 2002 03:54:07 -0800 (PST) Received: from mailscan ([62.81.202.67]) by smtp04.retemail.es (InterMail vM.5.01.03.02 201-253-122-118-102-20010403) with SMTP id <20020208115405.KKKM29636.smtp04.retemail.es@mailscan> for ; Fri, 8 Feb 2002 12:54:05 +0100 Received: FROM svrcitrix.sadiel.es BY mailscan ; Fri Feb 08 12:52:16 2002 +0100 Received: from CORREO.sadiel.es ([62.81.202.90]) by svrcitrix.sadiel.es with Microsoft SMTPSVC(5.0.2195.2966); Fri, 8 Feb 2002 12:55:38 +0100 Received: from svrldap.sadiel.es ([172.18.1.41]) by CORREO.sadiel.es with Microsoft SMTPSVC(5.0.2195.2966); Fri, 8 Feb 2002 12:53:24 +0100 Date: Fri, 8 Feb 2002 12:49:05 +0100 From: Jorge Bianquetti de las Heras To: francisv@dagupan.com Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Tuning FreeBSD for Squid proxy/cache Message-Id: <20020208124905.06f9f242.jbianquetti@sadiel.es> In-Reply-To: <10F29E27A956D511B0940050DA8D86A9340ECB@apmail.dagupan.com> References: <10F29E27A956D511B0940050DA8D86A9340ECB@apmail.dagupan.com> X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i386--freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Feb 2002 11:53:24.0930 (UTC) FILETIME=[36D0FA20:01C1B097] Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 8 Feb 2002 18:58:36 +0800 francisv@dagupan.com wrote: 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! > Hi, > > We have 3 Squid proxy/cache servers running on FreeBSD 4.5-STABLE. The boxes > are quite powerful: Pentium III 933Mhz with 1.5GB RAM and 4x70GB UDMA-100 > hard drives. Are there are guides on tuning this kind of box aside from `man > (7) tuning'? > > --- > francis a. vidal [bitstop network services] | http://www.dagupan.com > streaming media + web hosting | http://www.keystone.ph > v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message