Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2003 21:48:51 -0700
From:      Nathan Kinkade <nkinkade@dsl-only.net>
To:        David Banning <david@skytracker.ca>
Cc:        questions@freebsd.org
Subject:   Re: X dies - out of swap space
Message-ID:  <20030412044851.GH280@sub21-156.member.dsl-only.net>
In-Reply-To: <20030412000328.A30425@skytrackercanada.com>
References:  <20030410141136.A559@skytrackercanada.com> <20030411002220.GA280@sub21-156.member.dsl-only.net> <20030411131556.A20362@skytrackercanada.com> <200304120035.18158.dgw@liwest.at> <20030411212311.A28829@skytrackercanada.com> <20030412020554.GE280@sub21-156.member.dsl-only.net> <20030412000328.A30425@skytrackercanada.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--54u2kuW9sGWg/X+X
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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. =20
>=20
> 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>=20

> 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?=20
<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

--=20
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc

--54u2kuW9sGWg/X+X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+l5qzWZYS9EJQoEwRAt1YAKCZ8KrbUlkfL9zYvRyqVIBS083MUgCeJAdJ
O/NsZnUN61eDxnFwjryLs+U=
=ww5Q
-----END PGP SIGNATURE-----

--54u2kuW9sGWg/X+X--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030412044851.GH280>