Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 1999 15:47:16 -0700
From:      Jerry Preeper <preeper@cts.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   swap_pager: out of swap space (-->crash)
Message-ID:  <3.0.5.32.19990528154716.041b4280@crash.cts.com>

next in thread | raw e-mail | index | archive | help
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:

Message from syslogd@trixie at Fri May 28 13:52:14 1999 ...
trixie May 28 13:52:08inetd[: /etc/spwd.db

Message from syslogd@trixie at Fri May 28 13:52:14 1999 ...
trixie May 28 13:52:08inetd[: ftp

Message from syslogd@trixie at Fri May 28 13:56:07 1999 ...
trixie May 28 13:56:07named[: qnew: calloc failed


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

It's been up for about 40 minutes now but I don't know how long it will
continue to stay up.

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

df -i shows:
Filesystem  1K-blocks     Used    Avail Capacity iused   ifree  %iused
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.

Does anyone have an idea.

Jerry Preeper



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?3.0.5.32.19990528154716.041b4280>