From owner-freebsd-performance@FreeBSD.ORG Tue Apr 3 07:10:44 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC0F616A405 for ; Tue, 3 Apr 2007 07:10:44 +0000 (UTC) (envelope-from teklimbu@wlink.com.np) Received: from smtp5.wlink.com.np (smtp5.wlink.com.np [202.79.32.52]) by mx1.freebsd.org (Postfix) with SMTP id BF95313C4AD for ; Tue, 3 Apr 2007 07:10:40 +0000 (UTC) (envelope-from teklimbu@wlink.com.np) Received: (qmail 91154 invoked from network); 3 Apr 2007 07:10:37 -0000 Received: from unknown (HELO smtp8.wlink.com.np) (202.79.32.38) by 0 with SMTP; 3 Apr 2007 07:10:37 -0000 Received: (qmail 73569 invoked by uid 98); 3 Apr 2007 07:10:37 -0000 Received: from 202.79.32.77 by smtp8.wlink.com.np (envelope-from , uid 1004) with qmail-scanner-1.25 (clamdscan: 0.88.4/1879. Clear:RC:1(202.79.32.77):. Processed in 1.097318 secs); 03 Apr 2007 07:10:37 -0000 X-Qmail-Scanner-Mail-From: teklimbu@wlink.com.np via smtp8.wlink.com.np X-Qmail-Scanner: 1.25 (Clear:RC:1(202.79.32.77):. Processed in 1.097318 secs) Received: from smtp2.wlink.com.np (202.79.32.77) by smtp8.wlink.com.np with SMTP; 3 Apr 2007 07:10:35 -0000 Received: (qmail 1679 invoked by uid 516); 3 Apr 2007 07:10:35 -0000 Received: from [202.79.36.216] (HELO teklimbu.wlink.com.np) by smtp2.wlink.com.np (qmail-smtpd) with SMTP; 03 Apr 2007 07:10:29 -0000 (Tue, 03 Apr 2007 12:55:29 +0545) Received: from teklimbu.wlink.com.np ([202.79.36.216]) by teklimbu.wlink.com.np with smtp (Exim 4.66) (envelope-from ) id 1HYd9t-000EhN-QN; Tue, 03 Apr 2007 12:55:25 +0545 Date: Tue, 3 Apr 2007 12:55:20 +0545 From: Tek Bahadur Limbu To: Gary Stanley Message-Id: <20070403125520.c1415138.teklimbu@wlink.com.np> References: <20070330122858.93392f43.teklimbu@wlink.com.np> Organization: Worldlink Communications Pvt. Ltd. X-Mailer: Sylpheed version 2.2.0 (GTK+ 2.8.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Check-By: smtp2.wlink.com.np Spam: No ; 0.1 / 7.0 X-Spam-Status-WL: No, hits=0.1 required=7.0 Cc: freebsd-performance@freebsd.org Subject: Re: FreeBSD-6.1 reboots due to high mbufs X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2007 07:10:44 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 30 Mar 2007 04:25:06 -0400 Gary Stanley wrote: > At 02:43 AM 3/30/2007, Tek Bahadur Limbu wrote: > > >I have squid proxy server running on a FreeBSD-6.1 (amd) box. I have > >been facing this problem for sometime now. It's related to mbufs. > >For some reasons, my mbufs usage is extremely high. This high mbufs > >usage causes slow responses from Squid and in rare occasions, it > >even causes my server to reboot or locks out SSH sessions. > > > >This FreeBSD-6.1 squid box serves about 3000-4000 users. > > > > Lower your net.inet.tcp.{recv,send}space to 32768, or 16384 Hi Gary, I am sorry for the late reply. I had lowered my net.inet.tcp.{recv,send}space to 16384/32768. It seemed to help lower the mbufs usage at first but after about 2-3 days, the mbufs usage is almost the same. I am looking into the sysctls forwarded by Alessandro. I will continue to monitor net.inet.tcp.{recv,send}space values too. Thanking all of you. > > > > > > - -- With best regards and good wishes, Yours sincerely, Tek Bahadur Limbu (TAG/TDG Group) Jwl Systems Department Worldlink Communications Pvt. Ltd. Jawalakhel, Nepal http://www.wlink.com.np -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFGEf3cVrOl+eVhOvYRAiF+AJ9FkAcyTeAz0FuF08UUHdUAae+h0QCdGcPq TP87tnWSVvjsDQXask8KWlY= =P51Y -----END PGP SIGNATURE-----