From owner-freebsd-questions@FreeBSD.ORG Sat Sep 17 21:23:09 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B23D116A41F for ; Sat, 17 Sep 2005 21:23:09 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5689C43D45 for ; Sat, 17 Sep 2005 21:23:09 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 91F035D67; Sat, 17 Sep 2005 17:23:08 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 95474-08; Sat, 17 Sep 2005 17:23:05 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-68-11.ny325.east.verizon.net [68.161.68.11]) by pi.codefab.com (Postfix) with ESMTP id AB76D5D06; Sat, 17 Sep 2005 17:23:04 -0400 (EDT) Message-ID: <432C893A.3080503@mac.com> Date: Sat, 17 Sep 2005 17:23:06 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050801 X-Accept-Language: en-us, en MIME-Version: 1.0 To: snacktime@gmail.com References: <1f060c4c05091711577de1e539@mail.gmail.com> In-Reply-To: <1f060c4c05091711577de1e539@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: server locks up when unable to allocate swap 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: Sat, 17 Sep 2005 21:23:09 -0000 snacktime wrote: > A FBSD 4.7 server this morning locked up and when I got to the data center I > found a bunch of IO error messages saying the pager couldn't allocate needed > swap space (or something close to that). Unfortunately these messages didn't > get logged anywhere that I could find and I didn't have anything on me to > write them down. The server has 500mb ram and is usually using about 70% of > that. The server didn't panic, but the console was not responsive so I had > to do a cold reboot. Everything came back up fine. > > Any ideas on how to debug this further? You ran out of swapspace, probably. How big is your swap partition, and did you notice unusually high number of processes running? You are running a version of FreeBSD which is significantly out-of-date, and you ought to consider updating to 4.11. You should also update your ports or at least run portaudit to see whether the Apache, MySQL, and so forth are OK. -- -Chuck