Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Arbeitsspeicher immer voll!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
eXe
n00b
n00b


Joined: 28 Nov 2004
Posts: 11

PostPosted: Sun Nov 28, 2004 12:32 pm    Post subject: Arbeitsspeicher immer voll! Reply with quote

Hi,

ich hab Gentoo auf nem Toshiba Satellite 2410 laufen mit nem Gentoo-Dev 2.6.9-r1 Kernel.

Nach jedem Starten fängt das System an ununterbrochen zu arbeiten, teilweise viele Minuten lang, und während dieser Phase wird der Arbeitsspeicher von anfangs ca. 30-50MB auf 350-500MB aufgefüllt OHNE, dass ich IRGENDWELCHE ANWENDUNDEN LAUFEN HABE!!

Nebenbei ist noch zu sagen, dass ich einen Zombie Prozess laufen habe und ich mit dem Begriff nicht viel anfangen kann.

Jemand eine Idee, was da nicht stimmt?
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sun Nov 28, 2004 12:44 pm    Post subject: Reply with quote

Wie heisst den dein Zombieprozess? (Zombieprozess => Der Kindprozess ist gestorben ohne dass der Elternprozess das mitgekommen hat. Er sollte AFAIK keine resources konsumieren)
Poste mal den ouput von "cat /proc/meminfo". Wenn du eine Linuxkiste am laufen hast wird sie früher oder später alles RAM benutzen. Es wird aber nicht wirklich benutzt, soden behält Sachen im Cache (RAM), die es solange keine andere Applikation RAM benötigt, wieder benutzen kann.
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Sun Nov 28, 2004 1:07 pm    Post subject: Reply with quote

Das mit dem Zombie sollte nicht sein. Der Rest hört sich so an, als würde vielleicht nach dem Booten mal updatedb (o.ä.) via cronjob anspringen und den Cache auffüllen.
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
eXe
n00b
n00b


Joined: 28 Nov 2004
Posts: 11

PostPosted: Sun Nov 28, 2004 1:34 pm    Post subject: Reply with quote

Wie kann ich denn einsehen welcher Prozess genau der Zombie ist?

Und meminfo sagt folgendes:

Code:

bash-2.05b$ cat /proc/meminfo
MemTotal:       514372 kB
MemFree:         35112 kB
Buffers:        143700 kB
Cached:         146796 kB
SwapCached:          0 kB
Active:         175000 kB
Inactive:       151864 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       514372 kB
LowFree:         35112 kB
SwapTotal:      498004 kB
SwapFree:       498004 kB
Dirty:             108 kB
Writeback:           0 kB
Mapped:          66648 kB
Slab:           143480 kB
Committed_AS:    71084 kB
PageTables:        904 kB
VmallocTotal:   516020 kB
VmallocUsed:     39332 kB
VmallocChunk:   471984 kB


Und Crontab sagt folgendes für root:
Code:
bash-2.05b# crontab -l
no crontab for root


Als normaler User bekomme ich "permission denied"...
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sun Nov 28, 2004 1:48 pm    Post subject: Reply with quote

Ca 185MB deines Speichers sind effektiv benutzt. Schau dir die SwapFree line an, solange du dort nichts hast ist alles im RAM, und sicher nichts falsch.
Zum Beispiel in der Processstauts line von top mit einem "Z" gekennzeichnet.
Back to top
View user's profile Send private message
eXe
n00b
n00b


Joined: 28 Nov 2004
Posts: 11

PostPosted: Sun Nov 28, 2004 2:14 pm    Post subject: Reply with quote

Ich kann ja aber nicht alle Prozesse aufeinmal sehen weil ich nicht inner console scrollen kann..

top - 15:11:25 up 4:17, 3 users, load average: 0.03, 0.08, 0.06
Tasks: 66 total, 1 running, 65 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.3% us, 1.3% sy, 0.0% ni, 92.4% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 514372k total, 492820k used, 21552k free, 144516k buffers
Swap: 498004k total, 0k used, 498004k free, 194192k cached

Nun ist auch der Zombie Prozess weg...oh man, ist das seltsam:/


Habe außerdem noch ein weiteres Problem mit K3B...:

Code:
System
-----------------------
K3b Version:0.11.17
KDE Version: 3.3.1
QT Version: 3.3.3

cdrecord
-----------------------
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
TOC Type: 0 = CD-DA
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
/usr/bin/cdrecord: Warning: Running on Linux-2.6.9-gentoo-r1
/usr/bin/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
/usr/bin/cdrecord: Warning: Linux-2.6.8 introduced incompatible interface changes.
/usr/bin/cdrecord: Warning: SCSI transport does no longer work for suid root programs.
/usr/bin/cdrecord: Warning: if cdrecord fails, try to run it from a root account.
scsidev: '/dev/ide/host0/bus1/target0/lun0/cd'
devname: '/dev/ide/host0/bus1/target0/lun0/cd'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
/usr/bin/cdrecord: Cannot allocate memory. Cannot get SCSI I/O buffer.

cdrecord comand:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/ide/host0/bus1/target0/lun0/cd speed=4 -tao driveropts=burnfree -eject -useinfo -pad -shorttrack -audio /tmp/kde-exe/k3b_audio_0_01.inf /tmp/kde-exe/k3b_audio_0_02.inf /tmp/kde-exe/k3b_audio_0_03.inf /tmp/kde-exe/k3b_audio_0_04.inf /tmp/kde-exe/k3b_audio_0_05.inf /tmp/kde-exe/k3b_audio_0_06.inf /tmp/kde-exe/k3b_audio_0_07.inf /tmp/kde-exe/k3b_audio_0_08.inf /tmp/kde-exe/k3b_audio_0_09.inf /tmp/kde-exe/k3b_audio_0_10.inf /tmp/kde-exe/k3b_audio_0_11.inf /tmp/kde-exe/k3b_audio_0_12.inf /tmp/kde-exe/k3b_audio_0_13.inf /tmp/kde-exe/k3b_audio_0_14.inf /tmp/kde-exe/k3b_audio_0_15.inf

Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sun Nov 28, 2004 2:39 pm    Post subject: Reply with quote

Keine problem in top.
Code:
SHIFT+F
w
Back to top
View user's profile Send private message
@4u
Apprentice
Apprentice


Joined: 13 Nov 2004
Posts: 160

PostPosted: Sun Nov 28, 2004 3:33 pm    Post subject: Reply with quote

eXe wrote:
Ich kann ja aber nicht alle Prozesse aufeinmal sehen weil ich nicht inner console scrollen kann..

top - 15:11:25 up 4:17, 3 users, load average: 0.03, 0.08, 0.06
Tasks: 66 total, 1 running, 65 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.3% us, 1.3% sy, 0.0% ni, 92.4% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 514372k total, 492820k used, 21552k free, 144516k buffers
Swap: 498004k total, 0k used, 498004k free, 194192k cached

Nun ist auch der Zombie Prozess weg...oh man, ist das seltsam:/


Habe außerdem noch ein weiteres Problem mit K3B...:

Code:
System
-----------------------
K3b Version:0.11.17
KDE Version: 3.3.1
QT Version: 3.3.3

cdrecord
-----------------------
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
TOC Type: 0 = CD-DA
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
/usr/bin/cdrecord: Warning: Running on Linux-2.6.9-gentoo-r1
/usr/bin/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
/usr/bin/cdrecord: Warning: Linux-2.6.8 introduced incompatible interface changes.
/usr/bin/cdrecord: Warning: SCSI transport does no longer work for suid root programs.
/usr/bin/cdrecord: Warning: if cdrecord fails, try to run it from a root account.
scsidev: '/dev/ide/host0/bus1/target0/lun0/cd'
devname: '/dev/ide/host0/bus1/target0/lun0/cd'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
/usr/bin/cdrecord: Cannot allocate memory. Cannot get SCSI I/O buffer.

cdrecord comand:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/ide/host0/bus1/target0/lun0/cd speed=4 -tao driveropts=burnfree -eject -useinfo -pad -shorttrack -audio /tmp/kde-exe/k3b_audio_0_01.inf /tmp/kde-exe/k3b_audio_0_02.inf /tmp/kde-exe/k3b_audio_0_03.inf /tmp/kde-exe/k3b_audio_0_04.inf /tmp/kde-exe/k3b_audio_0_05.inf /tmp/kde-exe/k3b_audio_0_06.inf /tmp/kde-exe/k3b_audio_0_07.inf /tmp/kde-exe/k3b_audio_0_08.inf /tmp/kde-exe/k3b_audio_0_09.inf /tmp/kde-exe/k3b_audio_0_10.inf /tmp/kde-exe/k3b_audio_0_11.inf /tmp/kde-exe/k3b_audio_0_12.inf /tmp/kde-exe/k3b_audio_0_13.inf /tmp/kde-exe/k3b_audio_0_14.inf /tmp/kde-exe/k3b_audio_0_15.inf

Es ist normal, dass unter Linux (fast) der komplette Arbeitsspeicher in Verwendung ist. Unter anderem wird er als Cache für Festplattenzugriffe und -schreibspeicher genutzt.

Der Fehler mit k3b / cdrecord ist ein Problem oder Bug - je nach Ansichtsweise - mit dem neuen Kernel-Interface ab v2.6.8 (oder .7?). Auf ihn wird explizit hingewiesen, siehe deinen geposteten Text:

Code:
usr/bin/cdrecord: Warning: Running on Linux-2.6.9-gentoo-r1
/usr/bin/cdrecord: There are unsettled issues with Linux-2.5 and newer.

_________________
Alle Angaben ohne Gewähr - Korrekturen sind gern willkommen


Last edited by @4u on Sun Nov 28, 2004 3:36 pm; edited 2 times in total
Back to top
View user's profile Send private message
eXe
n00b
n00b


Joined: 28 Nov 2004
Posts: 11

PostPosted: Sun Nov 28, 2004 3:34 pm    Post subject: Reply with quote

Was mich jedoch wundert ist, dass dieses Problem der Speicherauffüllung nur bei mir auftritt, jedenfalls hab ich sowas nocht nicht von anderen Gentoo Usern in meiner Nähe gehört.

Also sollte es ja auch eine Erklärung dafür geben und eventuell sogar eine Lösung, falls dies nun doch ein Problem / Fehler sein sollte...


Edit:

Gibts schon ein Fix für den K3B Bug?
Back to top
View user's profile Send private message
@4u
Apprentice
Apprentice


Joined: 13 Nov 2004
Posts: 160

PostPosted: Sun Nov 28, 2004 3:41 pm    Post subject: Reply with quote

Ja, aber es erfordert eine "manuelle" Kompilierung bzw. musst du relativ schnell eine editierte Daten in das Quellcode-Verzeichnis verschieben. Am besten einfach mal nach kernel 2.6 und cdrecord suchen.
_________________
Alle Angaben ohne Gewähr - Korrekturen sind gern willkommen
Back to top
View user's profile Send private message
eXe
n00b
n00b


Joined: 28 Nov 2004
Posts: 11

PostPosted: Sun Nov 28, 2004 3:42 pm    Post subject: Reply with quote

Okay danke 8)
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Sun Nov 28, 2004 3:52 pm    Post subject: Reply with quote

Es ist kein Problem, warum solltest du den von einem Problem hören?
Linux Memory Managment sieht vor eventuell bald wieder bentützt Daten/Programmcode gleich mal im Speicher zu lassen, wieso auch gleich wieder sinnlos wegschaufeln, rächt sich später sowieso nur, wäre ein glatter Beinschuss den Ram frei zu schaufeln.

Updatedb ist ein Indexdienst, und der lässt nur deine Festplatte etwas röddeln und füllt nebenbei den Ram etwas mit Daten auf die er sich ja erstmal anschauen muss, wenn du später mal eine Datei suchen wirst, wirst du Linux für updatedb auf Knien danken. Wenn dieses Forum hier nicht indexiert wäre, wäre die Suchfunktion z.B. ziemlich "lahm".
Wenn du dir allerdings sagts "ich suche nie nach Dateien", dann kannst du ja updatedb Cronjob löschen ;)

Windows dagegen macht zwar was ähnliches, stopft aber gleich mal alles in die Swap Partition (dir wird sicher augefallen sein dass man diese heut zu Tage auf einem modernen Desktop praktisch nie braucht, ständig nahe Null), und da bringt mir das Zeugs herzlich wenig. Es sieht halb einfach schöner auf wenn der Speicher so schön "frei" ist, faktisch ist freier Ram aber pure Geldverschwendung.
FREIER ARBEITSSPEICHER IST DAHER EIN GUTER GRUND SICH ZU SCHÄMEN :D

Wenn ich Doom³ starte, und dann wieder schließe, und später wieder starte, habe ich auch keine Lust darauf wieder eine halbe Ewigkeit zu warten, bis erstmal alles wieder von der Platte in den Ram geschaufelt wird...dummfug!

Wenn man einen Server/Laptop/Workstation hat, kann man die "Swapiness" auch anpassen, ist eventuell wegen dem Energieverbrauch nützlich bei Laptops usw. (ab Kernel 2.6)

Im Documentation-Forum gibts einen interessanten Thread dazu, suche mal nach "Linux Memory Managment".
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
Master-Romeo
Tux's lil' helper
Tux's lil' helper


Joined: 02 Aug 2004
Posts: 112
Location: München

PostPosted: Sun Jan 02, 2005 4:30 pm    Post subject: Reply with quote

hallöchen zusammen,

ich hab mir vor kurzem n paar neue Teile gekauft: amd64 512MB (single)

Davor hatte ich athlon1200 YEAH! auch 512MB SDRAM.Gnome/enlightenment XMMS (ext3)

Jetzt hab ich KDE mit Amarok am laufen und wenn ich was koperen, dann setzt der Sound aus. Das is ziemlich nervig! Ich hab Amarok schon die höchste Priorität gesetzt aber ich auuch nich wirklich das gefühl dass es am Prozessor liegt. (reiserfs)

Was kann ich machen, damits flüßiger geht ???

Systeminfo:Physischer speicher 5% (25MB) frei 30%TestplattenZ, 21 %Festplatten-pfferspeicher, Anwendungsdaten 42 %

Swap 100% frei

gesamt: physischer speicher 47% 52% frei
_________________
the root, the root, the root is on fire ....

--------
athlon64 3000+
Asus A8V
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Sun Jan 02, 2005 5:07 pm    Post subject: Reply with quote

Läuft DMA mittlerweile?

Edit: Wieso eigentlich dieser Thread dafür?
Back to top
View user's profile Send private message
Master-Romeo
Tux's lil' helper
Tux's lil' helper


Joined: 02 Aug 2004
Posts: 112
Location: München

PostPosted: Mon Jan 03, 2005 12:08 am    Post subject: Reply with quote

;) gutes Gedächtnis, hab grad (10min) nochma LIVECD rein und hdparm /dev/hda gmacht, da sagt er mit (on) *jippppi*
wenn ich dann mich auf meim System als Root anmeld und hdparm laufen lass (off), fehlt mir was im Kernel ????

kernel-relevantes:
Code:
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set

_________________
the root, the root, the root is on fire ....

--------
athlon64 3000+
Asus A8V
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1938

PostPosted: Mon Jan 03, 2005 11:15 am    Post subject: Reply with quote

Zu deinem Problem mit cdrecord könntest du hier was finden: :arrow: https://forums.gentoo.org/viewtopic.php?t=241057
_________________
Unix philosophy: "Do one thing and do it well."
systemd: "Do everything and do it wrong."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum