From owner-freebsd-questions@FreeBSD.ORG Sun Sep 18 03:59:12 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 1D19C16A420 for ; Sun, 18 Sep 2005 03:59:11 +0000 (GMT) (envelope-from snacktime@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52BEA43D48 for ; Sun, 18 Sep 2005 03:59:11 +0000 (GMT) (envelope-from snacktime@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so324553nzk for ; Sat, 17 Sep 2005 20:59:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=eg7rcMy4IN3fdM6DupngDWDVjJipatyYDhepvI/AftUv9z4HMxdDBYcOBrldjFicmqXqs7znpOA7MIUwUdZYfBZyPcHcMpL4kfgY9tY3WcfOcN5dq6YVLuuVghHDarijeU65xNt15KJhzICoGcFbNdsJD4/C44Cf5PIk5xqDrf4= Received: by 10.54.70.7 with SMTP id s7mr407742wra; Sat, 17 Sep 2005 20:59:10 -0700 (PDT) Received: by 10.54.23.29 with HTTP; Sat, 17 Sep 2005 20:59:10 -0700 (PDT) Message-ID: <1f060c4c050917205944b0aba6@mail.gmail.com> Date: Sat, 17 Sep 2005 20:59:10 -0700 From: snacktime To: freebsd-questions@freebsd.org In-Reply-To: <432C893A.3080503@mac.com> Mime-Version: 1.0 References: <1f060c4c05091711577de1e539@mail.gmail.com> <432C893A.3080503@mac.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: server locks up when unable to allocate swap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: snacktime@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2005 03:59:12 -0000 On 9/17/05, Chuck Swiger wrote: >=20 > snacktime wrote: > > A FBSD 4.7 server this morning locked up and when I got to the data=20 > center I > > found a bunch of IO error messages saying the pager couldn't allocate= =20 > needed > > swap space (or something close to that). Unfortunately these messages= =20 > didn't > > get logged anywhere that I could find and I didn't have anything on me= =20 > to > > write them down. The server has 500mb ram and is usually using about 70= %=20 > of > > that. The server didn't panic, but the console was not responsive so I= =20 > had > > to do a cold reboot. Everything came back up fine. > > > > Any ideas on how to debug this further? >=20 > You ran out of swapspace, probably. How big is your swap partition, and= =20 > did > you notice unusually high number of processes running? 1 GB swap, 500mb ram. I looked in the logs for all the processes that were= =20 running and couldn't find anything out of the ordinary. My feeling is that = I=20 ran out of swap also, although it's bugging me because I can't yet find wha= t=20 caused it. You are running a version of FreeBSD which is significantly out-of-date, an= d > you ought to consider updating to 4.11. You should also update your ports= =20 > or > at least run portaudit to see whether the Apache, MySQL, and so forth are= =20 > OK. All the ports are up to date. I've been putting off upgrading the server,= =20 but it does have most of the security patches applied. Chris -- > -Chuck >