From owner-freebsd-questions@FreeBSD.ORG Thu Jun 7 22:12:11 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BEBF16A421 for ; Thu, 7 Jun 2007 22:12:11 +0000 (UTC) (envelope-from drumslayer2@yahoo.com) Received: from web34503.mail.mud.yahoo.com (web34503.mail.mud.yahoo.com [66.163.178.169]) by mx1.freebsd.org (Postfix) with SMTP id 4504D13C44C for ; Thu, 7 Jun 2007 22:12:10 +0000 (UTC) (envelope-from drumslayer2@yahoo.com) Received: (qmail 99321 invoked by uid 60001); 7 Jun 2007 22:12:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=5NyN0jdPPs9wj8njYi/cVKaPKoZbpCgElml9agJ1RGeaq+2T9pWoejb+EY7BXAOK9yTgzDIm5tEP+VTHfVaPqPHx5DjvSJgDveMJsqu8bsnC0Ogw5pWHUU403IMGZuuOZ1fHwlgktIrvVBsIoMtdEeh0DUkun3nXQZq0C6Zp3Sw=; X-YMail-OSG: oZoZ.XoVM1lO.tyLvpPg8uVpsSDXP1Pzk8JEWVihWbvtq0.8Ej6_17pUxDmWgCserRUfaC1EwA-- Received: from [67.112.21.27] by web34503.mail.mud.yahoo.com via HTTP; Thu, 07 Jun 2007 15:12:10 PDT Date: Thu, 7 Jun 2007 15:12:10 -0700 (PDT) From: "N. Harrington" To: management@wlink.com.np In-Reply-To: <20070606145931.c0e4d237.> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <404161.99310.qm@web34503.mail.mud.yahoo.com> Cc: questions@freebsd.org Subject: Re: How to solve mysterious system lockups? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 22:12:11 -0000 --- WorldLink@yahoo.com, UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR. wrote: > On Mon, 4 Jun 2007 19:46:30 -0700 (PDT) > "N. Harrington" wrote: > > > > > Hello > > I have several systems that are used as squid > > caching servers. I have some systems that use SCSI > > disks and some that use SATA disks. They are > > identical in everyway except for the sata vs SCSI > > drives. > > > > At random times, the sata based systems seem to > be > > freezing. You can ping them and they respond, but > you > > cannot log in. Nor are any logs processed during > that > > time. > > > > I figure it mist be something to do with the > disks, > > but I am not sure how to solve it. There seems to > be > > little rhyme or reason. It does not happen > necessarily > > during busy times. It can happen in the middle of > the > > night. > > > > Any pointers in how to track down the cause would > be > > much appreciated. > > > > Tyan S2881 Motherboard - 4gigs mem > > Using 4 SATA (or scsi) drives > > FreeBSD amd64 6.2-STABLE. > > Hi Nicole, > > I was also having system lockup problems with my > FreeBSD-6.x servers running Squid with SATA disks. I > could ping it but could not login using SSH. > > However, in my case, it was due to high mbufs usage. > > What's your output of the following commands? > > netstat -mb > sysctl kern.ipc.nmbclusters > > Thanking you... > > > > > Thanks! > > > > Nicole Hi I have my servers behind a load balancer that also does TCP acceleration / offloading so my mbufs usage is pretty low. (it manages about 24 connections tops) However I have been noticing a larger and larger use of swap space. Either because of an increase on our part in the number of files stored or from upgrading to the newest squid versions (2.6-STABLE12 and 13) (last look showed me having 9 million objects in storeage for that one server) So, we could be suffering from the same thing but from different causes. I plan to be adding more memory soon (from 4gigs to 6 and 8) as a test. Also I have been adding SW_Watchdog to my kernels for now. It seems very good so far at sensing the death and rebooting. As well as soon adding some debugging to it to hopefully capture something useful. Be well. Nicole