From owner-freebsd-performance@FreeBSD.ORG Sun Apr 15 00:49:31 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 307AD16A400 for ; Sun, 15 Apr 2007 00:49:31 +0000 (UTC) (envelope-from unixtools@hotmail.com) Received: from bay0-omc1-s31.bay0.hotmail.com (bay0-omc1-s31.bay0.hotmail.com [65.54.246.103]) by mx1.freebsd.org (Postfix) with ESMTP id 1CA4F13C44B for ; Sun, 15 Apr 2007 00:49:31 +0000 (UTC) (envelope-from unixtools@hotmail.com) Received: from hotmail.com ([65.54.250.39]) by bay0-omc1-s31.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sat, 14 Apr 2007 17:37:31 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 14 Apr 2007 17:37:31 -0700 Message-ID: Received: from 65.54.250.200 by by115fd.bay115.hotmail.msn.com with HTTP; Sun, 15 Apr 2007 00:37:27 GMT X-Originating-IP: [24.228.29.56] X-Originating-Email: [unixtools@hotmail.com] X-Sender: unixtools@hotmail.com In-Reply-To: <20070330122858.93392f43.teklimbu@wlink.com.np> From: "Sunil Sunder Raj" To: teklimbu@wlink.com.np, freebsd-performance@freebsd.org Date: Sun, 15 Apr 2007 00:37:27 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 15 Apr 2007 00:37:31.0130 (UTC) FILETIME=[406D2DA0:01C77EF6] Cc: 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: Sun, 15 Apr 2007 00:49:31 -0000 Hi, Seems to be an old posting. Were you able to solve this problem. What is your ifconfig output. Sunil Sunder Raj http://daemon.in >From: Tek Bahadur Limbu >To: freebsd-performance@freebsd.org >Subject: FreeBSD-6.1 reboots due to high mbufs >Date: Fri, 30 Mar 2007 12:28:58 +0545 > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Dear All, > >I am quite new to FreeBSD in general and I also don't have much experience >and knowledge as required by this mailing list. I had posted this on >freebsd-questions but till now have not received any kind of feedback which >is fine. > >I need some help and suggestions from this mailing list if permissible. I >am sorry if I am posting this to the wrong mailing list. > >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. > >Server specs are: > >Dell 430 Intel(R) Pentium(R) D CPU 3.00GHz-Dual CPU >real memory = 2145959936 (2046 MB) >bge0: traffic load: 10Mb/s (through satellite) > >root@server# netstat -m > >66713/2677/69390 mbufs in use (current/cache/total) >66686/2210/68896/0 mbuf clusters in use (current/cache/total/max) >66686/2178 mbuf+clusters out of packet secondary zone in use >(current/cache) >0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) >0/0/0/0 9k jumbo clusters in use (current/cache/total/max) >0/0/0/0 16k jumbo clusters in use (current/cache/total/max) >150050K/5089K/155139K bytes allocated to network (current/cache/total) >0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) >0/0/0 requests for jumbo clusters denied (4k/9k/16k) >0/0/0 sfbufs in use (current/peak/max) >0 requests for sfbufs denied >0 requests for sfbufs delayed >0 requests for I/O initiated by sendfile >0 calls to protocol drain routines > > >/etc/sysctl.conf: > >kern.maxfilesperproc=8192 >kern.ipc.somaxconn=8192 >kern.maxprocperuid=8192 >net.inet.ip.portrange.hifirst=10000 >net.inet.ip.portrange.first=30000 >net.inet.ip.portrange.last=65535 >net.inet.tcp.recvspace=65535 >net.inet.tcp.sendspace=65535 >net.inet.tcp.blackhole=2 >net.inet.udp.blackhole=1 >net.inet.ip.fw.verbose_limit=5000 >net.inet.icmp.icmplim=0 >net.inet.tcp.msl=3000 >net.isr.direct=1 >vfs.read_max=16 > >/boot/loader.conf: > >kern.ipc.nmbclusters=0 >kern.maxusers=0 >kern.maxfiles=16384 >kern.maxproc=8192 > >Relevant Kernel Options: > >options IPFIREWALL >options IPFIREWALL_VERBOSE >options IPFIREWALL_FORWARD >options IPFIREWALL_VERBOSE_LIMIT=5000 >options IPFIREWALL_FORWARD_EXTENDED > >options MSGMNB=16384 >options MSGMNI=41 >options MSGSEG=2049 >options MSGSSZ=64 >options MSGTQL=2048 >options SHMSEG=128 >options SHMMNI=192 >options SHMMAX=33554432 >options SHMMIN=1 >options SHMALL=8192 > >options HZ=1000 #Polling Enabled > > >Note: Running IPFW. Also my other FreeBSD-4.x servers don't seem to suffer >from this problem. They have almost the same IPFW, Squid and Sysctl >configs. > >Any feedback and suggestions will be highly appreciated. > >Thanking 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) > >iD8DBQFGDLGuVrOl+eVhOvYRAk8dAJ9dumhWCNTp6iHUy5PsQ0ie2OdMqQCgjG8u >eTxXgRCNSe3R2mmTGSbuSqo= >=mVGh >-----END PGP SIGNATURE----- >_______________________________________________ >freebsd-performance@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-performance >To unsubscribe, send any mail to >"freebsd-performance-unsubscribe@freebsd.org" _________________________________________________________________ Interest Rates Fall Again! $430,000 Mortgage for $1,399/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-18679&moid=7581