Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 1999 16:31:37 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Jerry Preeper <preeper@cts.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: swap_pager: out of swap space (-->crash)
Message-ID:  <Pine.BSF.4.03.9905281630160.11808-100000@resnet.uoregon.edu>
In-Reply-To: <3.0.5.32.19990528154716.041b4280@crash.cts.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 May 1999, Jerry Preeper wrote:

> I'm hoping someone might be able to provide some insight.  When I got back
> from lunch today, I found a few console messages on my connection to my
> server running 2.2.8-Stable (from cvsup about 2 weeks ago), like this:

(some odd wall messages)

> and then found my nameserver and webserver dead.  I rebooted the machine
> and 10 minutes later, it crashed again.  Reboot.  Then crashes again.
> Reboot again.
> 
> I did get to download the messages file and after the first reboot found
> this in the messages file (which is just filled with May 28 14:49:22 trixie
> /kernel: pid 1302 (httpd), uid 50: exited on signal 11 messages):
> 
> May 28 14:35:30 trixie named[675]: Ready to answer queries. 
> May 28 14:38:13 trixie proftpd[898]: FTP session closed. 
> May 28 14:39:11 trixie su: jerry to root on /dev/ttyp0
> May 28 14:43:06 trixie /kernel: swap_pager: out of swap space
> May 28 14:43:15 trixie /kernel: pid 1139 (getad.cgi), uid 50: exited on
> signal 11
> May 28 14:43:16 trixie /kernel: pid 1140 (getad.cgi), uid 50: exited on
> signal 11
> May 28 14:43:25 trixie /kernel: swap_pager: out of swap space
> May 28 14:48:16 trixie /kernel: pid 1144 (getad.cgi), uid 50: exited on
> signal 11
> May 28 14:48:40 trixie named[675]: flushset: out of memory - ABORT
> May 28 14:48:40 trixie /kernel: pid 675 (named), uid 0: exited on signal 6
> May 28 14:48:41 trixie /kernel: pid 1143 (perl5.00404), uid 50: exited on
> signal 11

Looks like a runaway process.  Perhaps your 'getad.cgi' has a bug?  Watch
top for a while.

> The machine is PII-233, Asus P2L97S MB, 128 MB ram, 141 MB swap space,
> 4.5GB Barracuda HD running basic web server functions. Apache is 1.3.4 and
> sendmail is 8.9.2

You should have more swap.

> Mounted on
> /dev/sd0s1a   4168505  3157871   677154    82%  169750  844008    17%   /
> procfs              4        4        0   100%      44    4072     1%   /proc
> 
> so it seems I have plenty of room for the swap.  I checked the archives and
> saw that swap should be slightly more than RAM, which it is, but can't seem
> to find out why this is happening.

Swap is on a separate partition.  What does 'swapinfo' report?

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9905281630160.11808-100000>