[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

swap not being used

I just put a new harddisk into one of the workstations here, remade
partitions, rsync'd the system over, then created the swap space, then
booted, and it all worked - except for swap.

here's what i did:

  mother:~# grep swap /etc/fstab
  /dev/hda2 none swap sw 0 0

  mother:~# mkswap /dev/hda2
  Setting up swapspace version 1, size = 1019928576 bytes

  mother:~# swapon /dev/hda2

  mother:~# cat /proc/swaps
  Filename                        Type            Size    Used    Priority
  /dev/hda2                       partition       996020  0       -1

  mother:~> free
               total       used       free     shared    buffers     cached
  Mem:        516580     475844      40736          0     170540     224736
  -/+ buffers/cache:      80568     436012
  Swap:       996020          0     996020

now say i'll start openoffice and mozilla and a couple of others, just to
consume RAM. the system will not use the swap space. any idea why not?

Please do not CC me! Mutt (www.mutt.org) can handle this automatically.
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
NOTE: The pgp.net keyservers and their mirrors are broken!
Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc

Attachment: pgp3Zbq3Lif2a.pgp
Description: PGP signature

Reply to: