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

[Debian]: slink 2.1: Weigert sich zu swappen :-(



Hi,

ich hab vor kurzem mein System dupliziert, von einer SCSI auf eine EIDE
Platte. Die EIDE Platte ist in einen P100 gewandert, die SCSI Platte zurück
in meinen K6, dann hab ich auf dem K6 alle Serverpakete gelöscht, auf dem
P100 alle Workstation/Anwenderpakete (X & Co), IPs umgestellt, lief
ziemlich auf Anhieb (außer Kopierzeit waren wohl 2-3h Aufwand).

Jetzt ist folgendes Problem: Der P100 swappt nicht.
Ich hab eine 110MB große Swap-Partition erstellt, diese mit mkswap
'formatiert', die in /etc/fstab eingetragen, sie wird mit 'free' auch
angezeigt.

  total       used       free     shared    buffers     cached
Mem:         46372      45748        624      22640        280   30184
-/+ buffers/cache:      15284      31088
Swap:       102780        176      98604

Nur landen nie mehr als 1-2 MB auf dieser Partition. Egal was ich mache.
Komischerweise liefert auch 'cat /proc/swaps' ein


cat: /proc/swaps: Datei oder Verzeichnis nicht gefunden


Was ist hier faul? Stock 2.0.36 slink kernel (wozu neukompilieren, läuft
alles), 48MB RAM (für einen Server noch ok, aber knapp an der Grenze, das
Teil macht _alles_ hier für 5 clients, NFS, samba, PRoxy, Mail, News,
router, firewall, etc etc etc...) und besagte Swap-Partition.

/earth:~> mount
/dev/hda1 on / type ext2 (rw,sync,errors=remount-ro)
/proc on /proc type proc (rw)
/dev/hda6 on /usr type ext2 (rw)
/dev/hda7 on /var type ext2 (rw,grpquota)
/dev/hda4 on /home type ext2 (rw,usrquota)


earth:~> df
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/hda1              39975   20118    17793     53%   /
/dev/hdc1             415544  351632    63912     85%   /swap
/dev/hda6             396500  287983   104420     73%   /usr
/dev/hda7             519063  290504   223197     57%   /var
/dev/hda4            7931099 3058916  4872183     39%   /home


earth:~# fdisk -l

Disk /dev/hda: 16 heads, 63 sectors, 19650 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot   Start      End   Blocks   Id  System
/dev/hda1            1       82    41296+  83  Linux native
/dev/hda2           83     2163  1048824    5  Extended
/dev/hda4         3335    19650  8223264   83  Linux native
/dev/hda5           83      286   102784+  82  Linux swap
/dev/hda6          287     1099   409720+  83  Linux native
/dev/hda7         1100     2163   536224+  83  Linux native


Wo ist hier bitte der Haken ?!? Ohne Swapping läuft die Kiste unter Last
etwas zäh... :(



-- 
_ciao, Jens_______________________________ http://www.pinguin.conetix.de

Anyone comfortable with using Linux shall use it. | "I'm afraid Linux has a 
Anyone wanting to tell other people what they     |  year-429496 problem"
should be using can go work for Microsoft.        |  -- Kernel mailing list

------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     758


Reply to: