X dies - out of swap space

Nathan Kinkade nkinkade at dsl-only.net
Fri Apr 11 19:06:00 PDT 2003

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
> > 
> > You have little swap space compared to your physical memory. This is generally 
> > not recommended, swap should be at least two times larger than memory.
> 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`.


GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
-------------- 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/89e21136/attachment.bin

More information about the freebsd-questions mailing list