Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2003 19:05:55 -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:  <20030412020554.GE280@sub21-156.member.dsl-only.net>
In-Reply-To: <20030411212311.A28829@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>

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

--T6xhMxlHU34Bk0ad
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 11, 2003 at 09:23:11PM -0400, David Banning wrote:
> On Sat, Apr 12, 2003 at 12:35:18AM +0200, Daniela wrote:
> > On Friday 11 April 2003 19:15, David Banning wrote:
> > > CPU states:  0.4% user,  0.0% nice,  0.4% system,  0.4% interrupt, 98=
.8%
> > > idle Mem: 56M Active, 101M Inact, 32M Wired, 11M Cache, 35M Buf, 48M =
Free
> > > Swap: 100M Total, 3580K Used, 96M Free, 3% Inuse
> >=20
> > You have little swap space compared to your physical memory. This is ge=
nerally=20
> > not recommended, swap should be at least two times larger than memory.
>=20
> Where is this adjusted?

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.  However, you appear to have somewhere
near 256MB physical RAM and 100MB of swap space - for a total of around
350MB virtual memory.  This is likely enough for most thing you may be
doing.  Your best bet at this point may be in attempting to identify
which process(s) is hogging all your virutual memory.  Maybe you could
open an xterm window and launch `top` and leave it running and
frequently look over to see which processes are using the most memory.
You might also want to sort top by memory usage.  You can do this at
run-time, but also at launch with `top -o size`.

Nathan

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

--T6xhMxlHU34Bk0ad
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE+l3SCWZYS9EJQoEwRAtyEAKCgwCp0dE4KM8MJop4pvCEpABrQHACfX6rn
B6Ej5ZReKr6rlTgPgKpN1vY=
=AM/3
-----END PGP SIGNATURE-----

--T6xhMxlHU34Bk0ad--



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