Re: swap_pager_getswapspace: failed

2003-06-26 Thread Jonathan Arnold
Device  1K-blocks UsedAvail Capacity  Type
/dev/ad0s1b 4971245920 379292%Interleaved
See:



for information on how to add more swap space.

I guess 32MB RAM is too little for MySQL, Apache and Postfix, huh?
It does seem like a tiny amount, given the big daemons you're running.
I'd definitely add more RAM.
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD blog:
http://freebsd.amazingdev.com/blog


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap_pager_getswapspace: failed

2003-06-23 Thread Kris Kennaway
On Mon, Jun 23, 2003 at 07:58:07PM -0500, Alfonso Romero wrote:
> Thanks, I ran swapinfo and it showed up the following info:
> 
> franky# swapinfo
> Device  1K-blocks UsedAvail Capacity  Type
> /dev/ad0s1b 4971245920 379292%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?

Use ps, top, etc to look for binaries with large memory usage.

Kris


pgp0.pgp
Description: PGP signature


Re: swap_pager_getswapspace: failed

2003-06-23 Thread Alfonso Romero
Thanks, I ran swapinfo and it showed up the following info:

franky# swapinfo
Device  1K-blocks UsedAvail Capacity  Type
/dev/ad0s1b 4971245920 379292%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" <[EMAIL PROTECTED]>
To: "Alfonso Romero" <[EMAIL PROTECTED]>
Cc: "freebsd-questions" <[EMAIL PROTECTED]>
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.
>
>


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap_pager_getswapspace: failed

2003-06-23 Thread Charlie Schluting
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.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"