Wo ist mein ganzer Speicher hin?

Ich habe mal wieder ein Problem, das ich mir nicht so ganz erklären kann.

Ich bekomme die ganze Zeit Warnungen, weil mein Speicher voll ist, aber ich habe keine Ahnung, wer ihn verbraucht. Ich habe mal KDE4 beendet und "ps aux" ausgeführt:
Code:
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   1660   568 ?        Ss   13:40   0:00 init [3]  
root         2  0.0  0.0      0     0 ?        S<   13:40   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S<   13:40   0:00 [migration/0]
root         4  0.0  0.0      0     0 ?        S<   13:40   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   13:40   0:00 [watchdog/0] 
root         6  0.0  0.0      0     0 ?        S<   13:40   0:00 [events/0]   
root         7  0.0  0.0      0     0 ?        S<   13:40   0:00 [khelper]
root        85  0.0  0.0      0     0 ?        S<   13:40   0:00 [kblockd/0]
root        87  0.0  0.0      0     0 ?        S<   13:40   0:00 [kacpid]
root        88  0.0  0.0      0     0 ?        S<   13:40   0:00 [kacpi_notify]
root       173  0.0  0.0      0     0 ?        S<   13:40   0:00 [tifm]
root       179  0.0  0.0      0     0 ?        S<   13:40   0:00 [ata/0]
root       180  0.0  0.0      0     0 ?        S<   13:40   0:00 [ata_aux]
root       181  0.0  0.0      0     0 ?        S<   13:40   0:00 [ksuspend_usbd]
root       186  0.0  0.0      0     0 ?        S<   13:40   0:00 [khubd]
root       189  0.0  0.0      0     0 ?        S<   13:40   0:00 [kseriod]
root       193  0.0  0.0      0     0 ?        S<   13:40   0:00 [kmmcd]
root       239  0.0  0.0      0     0 ?        S    13:40   0:00 [pdflush]
root       240  0.0  0.0      0     0 ?        S    13:40   0:00 [pdflush]
root       241  0.0  0.0      0     0 ?        S<   13:40   0:00 [kswapd0]
root       286  0.0  0.0      0     0 ?        S<   13:40   0:00 [aio/0]
root       964  0.7  0.0      0     0 ?        R<   13:40   0:31 [b43]
root       994  0.0  0.0      0     0 ?        S<   13:40   0:00 [scsi_eh_0]
root       996  0.0  0.0      0     0 ?        S<   13:40   0:00 [scsi_eh_1]
root      1073  0.0  0.0      0     0 ?        S<   13:40   0:00 [kpsmoused]
root      1077  0.0  0.0      0     0 ?        S<   13:40   0:00 [kstriped]
root      1080  0.0  0.0      0     0 ?        S<   13:40   0:00 [kondemand/0]
root      1122  0.0  0.0      0     0 ?        S<   13:40   0:00 [reiserfs/0]
root      1210  0.0  0.1   2712  1508 ?        S<s  13:40   0:00 /sbin/udevd --daemon
root      2456  0.0  0.0      0     0 ?        S<   13:40   0:00 [kdmflush]
root      2458  0.0  0.0      0     0 ?        S<   13:40   0:00 [kcryptd_io]
root      2460  0.1  0.0      0     0 ?        S<   13:40   0:04 [kcryptd]
root      2518  0.0  0.0      0     0 ?        S<   13:41   0:01 [loop0]
root      3011  0.0  0.1   4000   928 ?        Ss   13:41   0:00 /usr/sbin/wpa_supplicant -Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf -W -B -i wlan0 -P /var/run/wpa_supplicant-wlan0.pid
root      3018  0.0  0.0   2136   448 ?        Ss   13:41   0:00 /usr/bin/wpa_cli -a /etc/wpa_supplicant/wpa_cli.sh -p /var/run/wpa_supplicant -i wlan0 -P /var/run/wpa_cli-wlan0.pid -B
root      3102  0.0  0.0   1824   304 ?        Ss   13:41   0:00 dhcpcd -m 2 eth0
root      3202  0.0  0.0   1824   304 ?        Ss   13:41   0:00 dhcpcd -m 2004 wlan0
root      3203  0.0  0.0   2844   776 ?        Ss   13:41   0:00 /usr/sbin/syslog-ng
101       3230  0.0  0.0   2300   872 ?        Ss   13:41   0:00 /usr/bin/dbus-daemon --system
root      3255  0.0  0.2   4960  1992 ?        Ss   13:41   0:00 /usr/sbin/cupsd
root      3312  0.0  0.1   6952  1800 ?        Ss   13:41   0:00 /usr/lib/postfix/master
postfix   3317  0.0  0.1   6992  1740 ?        S    13:41   0:00 pickup -l -t fifo -u
postfix   3318  0.0  0.1   7044  1772 ?        S    13:41   0:00 qmgr -l -t fifo -u
root      3327  0.0  0.1   2556  1284 tty1     Ss   13:41   0:00 /bin/login --
root      3329  0.0  0.0   1700   700 tty2     Ss+  13:41   0:00 /sbin/agetty 38400 tty2 linux
root      3331  0.0  0.0   1700   704 tty3     Ss+  13:41   0:00 /sbin/agetty 38400 tty3 linux
root      3332  0.0  0.0   1700   700 tty4     Ss+  13:41   0:00 /sbin/agetty 38400 tty4 linux
root      3333  0.0  0.0   1700   696 tty5     Ss+  13:41   0:00 /sbin/agetty 38400 tty5 linux
root      3334  0.0  0.0   1700   700 tty6     Ss+  13:41   0:00 /sbin/agetty 38400 tty6 linux
root     28920  0.0  0.1   4996  1756 tty1     R    14:45   0:00 -bash
root     28971  0.0  0.1   4380  1036 tty1     R+   14:47   0:00 ps aux
Es scheint also kein Prozess dabei zu sein, der sonderlich viel Speicher verbraucht. "free -m" zeigt mir allerdings an, dass 517MB von 882 in Gebrauch sind. Wie kommt das?
Außerdem habe ich gedacht, ich hätte 1024 MB, bin ich jetzt betrogen worden?
Code:
             total       used       free     shared    buffers     cached
Mem:           882        517        365          0        171        275
-/+ buffers/cache:         71        811
Swap:          486          0        486
 
Poste nochmal die Ausgabe von dmesg.

Lass in einer Konsole laufen: vmstat 1

Paste das Ergebnis.
 
total used free shared buffers cached
Mem: 882 517 365 0 171 275
-/+ buffers/cache: 71 811
Swap: 486 0 486

der erste used eintrag ist lediglich der reservierte speicher für anwendungen die gerade laufen, der ist nicht belegt. wirklich belegter speicher wird in der zweiten zeile angegeben, in deinem fall 71mb, was wirklich wenig ist.
warum dir so wenig angezeigt werden... gute frage. entweder ist das ein umrechnungsproblem oder dein ram hat nen defekt. falls du die möglichkeit hast memtest86 laufen zu lassen wäre das mal ganz interessant.
 
Original von Eydeet
Es scheint also kein Prozess dabei zu sein, der sonderlich viel Speicher verbraucht. "free -m" zeigt mir allerdings an, dass 517MB von 882 in Gebrauch sind. Wie kommt das?
Außerdem habe ich gedacht, ich hätte 1024 MB, bin ich jetzt betrogen worden?
Code:
             total       used       free     shared    buffers     cached
Mem:           882        517        365          0        171        275
-/+ buffers/cache:         71        811
Swap:          486          0        486

*hervorhol*

Paste bitte mal die Ausgabe von "uname -r"

Bei mir wurden unter Debian Lenny, Kernel 2.6.25-2-486 ebenfalls nur 882 MB RAM erkannt. Von 2048 MB. Mit dem Kernel 2.6.25-2-686 wurde dann der komplette RAM erkannt.
 
Ah, danke für den Tipp!

Ich habe mich noch mal in der Richtung informiert, und herausgefunden, dass man "High Memory Support (4 GB)" aktivieren muss, damit der Speicher verwendet werden kann. Ich hatte das explizit abgewählt, weil ich gedacht habe, dass ich das mit nur 1GB Memory nicht brauche.

Jetzt sieht das schon viel besser aus (diesmal mit aktiviertem KDE und deshalb deutlich mehr Speicherverbrauch):
Code:
             total       used       free     shared    buffers     cached
Mem:          1000        579        420          0        118        135
-/+ buffers/cache:        325        674
Swap:            0          0          0
 
Zurück
Oben