Date: Sat, 17 Sep 2005 20:59:10 -0700 From: snacktime <snacktime@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: server locks up when unable to allocate swap Message-ID: <1f060c4c050917205944b0aba6@mail.gmail.com> In-Reply-To: <432C893A.3080503@mac.com> References: <1f060c4c05091711577de1e539@mail.gmail.com> <432C893A.3080503@mac.com>
index | next in thread | previous in thread | raw e-mail
On 9/17/05, Chuck Swiger <cswiger@mac.com> wrote: > > 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? 1 GB swap, 500mb ram. I looked in the logs for all the processes that were running and couldn't find anything out of the ordinary. My feeling is that I ran out of swap also, although it's bugging me because I can't yet find what caused it. 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. All the ports are up to date. I've been putting off upgrading the server, but it does have most of the security patches applied. Chris -- > -Chuck >home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1f060c4c050917205944b0aba6>
