Rene Engelhard wrote:
Christian Herzyk wrote:
Zur Größe: die 2xRAM Regel ist wirklich etwas veraltet. Ich würde folgendes vorschlagen: <=128MB Swap=2xRAM
128MB Swap=RAM
[...snip...] da läuft bei (mit Nachverfolgung mit xosview) mir der Speicher und das Swap voll und der Kernel killt die am meisten aktivsten Prozesse (dass sind in den Fall perl und gs die die Konvertierung machen) und dann is nix mehr....
Zu sehen an folgendem Eintrag in die /var/log/messages (eine zeile)
Sep 14 14:26:24 ReneEngelhard kernel: Out of memory: Killed process 1037 (perl)
Ich glaube, ich muss den Swap mal höher schrauben.. (mal sehen wieviel, erstmal versuche ich 3x, x=RAM in MB)
Swap hin Swap her. Bei den heutigen Speicherpreisen gibt es wohl kaum noch ein Argument gegen viel RAM auf dem Board. In HL bekommt man mancherorts 768 MB (3x256MB) für gerade mal 225 DM. Ich habe erst letzte Woche auf 512 MB aufgerüstet. Am Montag werden weitere 256 MB folgen. Mein Swap ist unverändert bei 256 MB und wird dort bleiben. Die Regel 3xRAM bzw. 1xRAM für >128MB ignoriere ich mal ganz frech. Ich sehe ehrlich gesagt keinen Sinn in 768 MB Swap. Allerdings bin ich sowieso einer derjenigen, die lieber eine Anwendung x-mal schließen und neu starten, anstatt sie im Hintergrund laufen zu lassen. Und auch Ressourcen fressende Prozesse kommen bei auch nur selten vor. Den Kommentar "Out of memory: Killed process ..." kenne ich aber. Dennis