X dies - out of swap space

Nathan Kinkade nkinkade at dsl-only.net
Fri Apr 11 21:48:52 PDT 2003


On Sat, Apr 12, 2003 at 12:03:28AM -0400, David Banning wrote:
> > It would have been adjusted/set when you setup the disk at install time
> > using the disklabel editor.  Later, it is probably initialized from an
> > entry in your /etc/fstab file.  
> 
> I remember setting that up, but isn't that setup just for disk space,
> as the entries in fstab are all pointing to the difference slices of
> the drive?

Yes, and you can't easily change it later.  However, if you have free
space on the disk you could setup another swap slice, or you could add
another disk and create a swap slice on that one.  If you add another
disk for swap the system could then interleave the swap and might
improve swap performance a little.
<snip> 

> Yes, I have been doing that, but the problem is that I don't see
> swap space from that command. In the following it shows that I am using
> presently 34M of swap, but how do I tell from the entries below what
> is using swap from what is using other memory? 
<snip>

Your process list included mysqld, python, and perl.  I have almost
brought my own system down before by executing massive or malformed SQL
statements using mysql.  I have also done this using the DBI perl
module.  And I have yet still caused major havoc on swap usage with perl
alone - spurious loops and such.  I would keep your eye on mysqld and
the various things you are doing with perl and/or python.

Also, while I'm really not sure, maybe a processes swap usage is
reflected in it's regular SIZE/RES stats from top(1)?

Nathan

-- 
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030411/a092437f/attachment.bin


More information about the freebsd-questions mailing list