Hi, Christoph Maurer wrote:
Am Fre, 07 Jun 2002 schrieb Harry Rüter:
Hallo Leute,
nachdem ich heute (aus anderen Gründen) top aufgerufen habe, ist mir aufgefallen, daß meine Swap-Partition langsam voll wird. Das wundert mich schon, da noch einiges an freiem Hauptspeicher vorhanden ist. Hier mal die entsprechenden Zeilen von top.
---------------schnipp (wird wohl leider umgebrochen)---------- 12:14pm up 47 days, 18:23, 3 users, load average: 0.00, 0.02, 0.00 1 processes: 1 sleeping, 0 running, 0 zombie, 0 stopped CPU states: 0.1% user, 0.0% system, 0.0% nice, 99.8% idle Mem: 127044K av, 120716K used, 6328K free, 0K shrd, 10968K buff Swap: 68508K av, 68216K used, 292K free 41616K cached ---------------schnipp----------
Was hast Du denn für einen Kernel? Die 2.4er Kernel vor 2.4.10 waren dafür berüchtigt, daß sie unnötigerweise viel in den Swap ausgelagert haben.
Ui, da habe ich die mail wohl etwas zu schnell abgeschickt, ich verwende Vanilla-Kernel 2.4.18.
Aber trotzde, ist ja noch keine Rede vom Vollaufen des Swaps, das Speicherbereiche, die sehr lange nicht gebraucht wurden, in den Swap ausgelagert werden, ist normal und sogar gewollt? Warum sollten die im Hauptspeicher liegenbleiben, den vielleicht andere Anwendungen eher brauchen..Was hast Du denn für einen Kernel? Die 2.4er Kernel vor 2.4.10 waren dafür berüchtigt, daß sie unnötigerweise viel in den Swap ausgelagert haben.
Ja, ist klar, aber irgenwie erscheint es mir so, als ob der Swap aufgrund eines Programms vollläuft (schrecklich dies 3 l's !!) das den Speicher nicht ordentlich zurückgibt. In Verdacht habe ich JAVA, beweisen kann ich's noch nicht...
Aber trotzde, ist ja noch keine Rede vom Vollaufen des Swaps, das Speicherbereiche, die sehr lange nicht gebraucht wurden, in den Swap ausgelagert werden, ist normal und sogar gewollt? Warum sollten die im Hauptspeicher liegenbleiben, den vielleicht andere Anwendungen eher brauchen...
Einmal reicht ;o)
So, um rauszukriegen, welche Prozesse da mit dem Speicher so verschwenderisch umgehen, möchte ich ps zu einer vernüftigen Ausgabe bewegen.
Ich habe also folgenden Befehl ausprobiert : ps axlO s
Du kannst auch die Ausgabe von top nach Memory-Nutzung sortieren lassen, indem Du 'M' drückst.
Joo, bringt mich nicht weiter ...
Gruß
Christoph
Gruß Harry