Swap läuft voll, Frage zu ps
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---------- 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 also alle Prozesse,lange Ausgabe, sortiert nach memorysize. Das ist aber irgendwie ein bischen unübersichtlich (wg -l). Ich hätte gerne eine Ausgabe,die mir jegliche Speichernutzung zeigt, aber sonst erstmal nix, möglichst sortiert nach Speichernutzung. Die man-pages habe ich konsultiert, irgendwie gelingt es mir aber nicht eine "user-defined"-Ausgabe zu produzieren. mfg Harry
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. 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. 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...
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. Gruß Christoph -- Christoph Maurer - 52072 Aachen - Tux#194235 mailto:christoph-maurer@gmx.de - http://www.christophmaurer.de Auf der Homepage u.a.: Installation von SuSE 7.0 auf Notebook Acer Travelmate 508 T, Elektrotechnik an der RWTH Aachen
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
Hallo, * Harry Rüter <harry_rueter@gmx.de> textete am 07.06.02:
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
^^^^^^^^^^^ Ist das nicht ein bißchen wenig? Bei mir steht da 101... Also so 20 bis 40 solltest du schon drin haben, sonst da doch gar nichts...
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
Hmmm, ein wenig Swap finde ich. Oder machst du nichts mit X? cu flo -- Jaja ! Der Morgendkliche Gang aus dem Haus auch bei uns immer die beste Diät. Du siehst da Dinge, davon bist du den ganzen Tag lang satt. [WoKo in dag°]
Hi, Florian Gross wrote:
Hallo,
* Harry Rüter <harry_rueter@gmx.de> textete am 07.06.02:
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
^^^^^^^^^^^ Ist das nicht ein bißchen wenig? Bei mir steht da 101... Also so 20 bis 40 solltest du schon drin haben, sonst da doch gar nichts...
Nee, das ist so 'ne Art Router/Allzwechserver zum Testen, der macht tatsächlich fast nix.
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
Hmmm, ein wenig Swap finde ich. Oder machst du nichts mit X?
Da hast du Recht, X gibts da nicht, deshalb meine Sorgen .
cu flo
Gruß Harry
* Harry Rüter <harry_rueter@gmx.de> textete am 10.06.02:
Hi,
Florian Gross wrote:
Hallo,
* Harry Rüter <harry_rueter@gmx.de> textete am 07.06.02:
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
^^^^^^^^^^^ Ist das nicht ein bißchen wenig? Bei mir steht da 101... Also so 20 bis 40 solltest du schon drin haben, sonst da doch gar nichts...
Nee, das ist so 'ne Art Router/Allzwechserver zum Testen, der macht tatsächlich fast nix.
Und welcher Prozess läuft da?
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
Hmmm, ein wenig Swap finde ich. Oder machst du nichts mit X?
Da hast du Recht, X gibts da nicht, deshalb meine Sorgen .
Ja, die sind da wohl berechtigt. flo -- Der Nietzsche kennt den Woko nicht, Bei dessen Siggs einem Erbricht. [WoKo in dag°]
participants (3)
-
Christoph Maurer
-
Florian Gross
-
Harry Rüter