* Florian Dütsch <florian.duet...@nix-wie-weg.de>: > wir haben bei unserer aktuellen OTRS-Installation das Problem, dass in > unserem Stack (Apache, mpm_worker, mod_perl, OTRS) entweder Memory Leaks > auftreten oder die Konfiguration an sich viel Speicher benötigt. Aktuell > lösen wir das Problem, indem wir Apache via monit neu starten, wenn er zu > viel Speicher (> 400 MB) benötigt. Dabei kommt es aber natürlich immer > wieder zu kurzen Ausfällen. > > Mich würden jetzt die konkreten Konfigurationen von euch interessieren, die > diesen Effekt nicht aufzeigen. Welche Tricks habt ihr auf Lager? Wie habt > ihr den Apache konfiguriert?
Wir nutzen Ubuntu 10.04.1 LTS, mit: ii apache2 2.2.14-5ubuntu8.4 Apache HTTP Server metapackage ii apache2-mpm-prefork 2.2.14-5ubuntu8.4 Apache HTTP Server - traditional non-threaded model ii apache2-utils 2.2.14-5ubuntu8.4 utility programs for webservers ii apache2.2-bin 2.2.14-5ubuntu8.4 Apache HTTP Server common binary files ii apache2.2-common 2.2.14-5ubuntu8.4 Apache HTTP Server common files ii libapache-dbi-perl 1.07-1 Connect apache server to database via perl's DBI ii libapache2-mod-perl2 2.0.4-6ubuntu1 Integration of perl with the Apache2 web server ii libapache2-reload-perl 0.10-2 Reload Perl modules when changed on disk und zuvor 2.4.7 und jetzt 3.0.4. Speicherverbrauch bei 300MB gesamt Pro apache haben wir 58-77MB virtual, 39-57MB resident und 5M shared. vmstat 1: procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 0 553928 29416 133108 0 0 148 59 101 125 3 3 91 3 0 0 0 553780 29416 133108 0 0 0 0 112 60 7 4 89 0 0 0 0 553796 29416 133112 0 0 0 0 87 48 4 0 96 0 Aber auf der kiste ist nicht viel los. Aber OOM war der noch nie... Mit apache2-mpm-event habe ich 345M virtual, 112M resident procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 0 426520 112284 206712 0 0 196 108 118 145 3 3 88 6 0 0 0 426520 112284 206720 0 0 0 0 128 64 9 0 91 0 0 0 0 426520 112284 206728 0 0 0 0 93 59 4 1 95 0 Weniger frei! Nun ist unklar ob deine Wahl vom apache-mpm leaked :) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de --------------------------------------------------------------------- OTRS mailing list: otrs-de - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs-de To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de