swap_pager_getswapspace: failed

Alfonso Romero ibac at prodigy.net.mx
Mon Jun 23 17:57:35 PDT 2003


Thanks, I ran swapinfo and it showed up the following info:

franky# swapinfo
Device          1K-blocks     Used    Avail Capacity  Type
/dev/ad0s1b         49712    45920     3792    92%    Interleaved


How can I know what applications are using the swap space?
I guess 32MB RAM is too little for MySQL, Apache and Postfix, huh?

----- Original Message -----
From: "Charlie Schluting" <charlie at schluting.com>
To: "Alfonso Romero" <ibac at prodigy.net.mx>
Cc: "freebsd-questions" <freebsd-questions at freebsd.org>
Sent: Monday, June 23, 2003 1:20 PM
Subject: Re: swap_pager_getswapspace: failed


> Alfonso Romero wrote:
> > I keep getting the following in /var/log/messages every time I run
mysqld:
> >
> >
> > Jun 23 03:04:14 franky /kernel: swap_pager_getswapspace: failed
> > Jun 23 03:04:14 franky last message repeated 26 times
> > Jun 23 03:04:15 franky /kernel: pid 189 (mysqld), uid 88, was killed:
out of swap space
> > Jun 23 11:19:39 franky /kernel: swap_pager_getswapspace: failed
> > Jun 23 11:19:41 franky last message repeated 48 times
> >
> >
> > Is this a problem with mysql, or do I need to get more swap space?
> >
> > The machine has 32MB RAM and a swap space of 128M, I am running apache
1.3.27, mysql 4, postfix and courier-imap. The problem appeared when I began
using a mysql database with postfix for virtual domains. BTW, courier-imap
doesn´t work with mysql yet.
> >
>
> run: swapinfo
> Most likely out of swap.
>
>




More information about the freebsd-questions mailing list