Page 1 of 1

RAM Auslastung sehr hoch - Apache 2.2.22

Posted: 2012-05-09 07:15
by RForum777
Hallo,

ich habe nach einem Umzug auf eine größere Maschine (Debian Squeeze / 2.6.32-5-xen-amd64) nun das Problem, dass die Apache Prozesse Unmengen an RAM verbrauchen (> 350 MB pro Prozess) und das Teil zu swappen beginnt.

Apache 2.2.22 ist wie folgt selbst kompiliert:

Code: Select all

./configure --prefix=/usr/local/apache2 --sysconfdir=/etc/httpd \
--enable-so \
--enable-mods-shared=all \
--enable-suexec=shared --with-suexec-caller=nobody --with-suexec-docroot=/home/www --with-suexec-logfile=/var/log/httpd/suexec.log \
--enable-ssl=shared \

PHP 5.2.17:

Code: Select all

./configure --prefix=/usr/local \
--with-apxs2=/usr/local/apache/bin/apxs \
--enable-exif \
--enable-magic-quotes \
--enable-wddx \
--enable-ftp \
--enable-inline-optimization \
--enable-safe-mode \
--with-mcrypt=/usr/local \
--with-openssl=/usr \
--with-curl \
--enable-bcmath \
--with-gettext="/usr" \
--with-gd \
--with-ttf=/usr \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-zlib-dir=/usr \
--with-freetype-dir=/usr \
--with-gnu-ld \
--with-mysql=/usr \
--with-mysqli=/usr/bin/mysql_config \
--enable-mbstring \
--enable-pdo \
--with-pdo-mysql=/usr \
--without-sqlite \
--without-pdo-sqlite \
--enable-soap \
--with-pear \

Irgendetwas scheint beim Kompilieren schief zu gehen - anbei ein Auszug von pmap:

Code: Select all

Address           Kbytes     RSS   Dirty Mode   Mapping
0000000000400000       0     324       0 r-x--  httpd
0000000000661000       0      16      16 rw---  httpd
0000000000666000       0       8       8 rw---    [ anon ]
00000000018cf000       0   14108   14108 rw---    [ anon ]
00007f972cb18000       0      72      72 rw-s-  zero (deleted)
00007f972cb2a000       0  151324  151324 rw---    [ anon ]
00007f9736136000       0       8       0 r-x--  libnss_dns-2.11.3.so
00007f973613b000       0       0       0 -----  libnss_dns-2.11.3.so
00007f973633a000       0       4       4 r----  libnss_dns-2.11.3.so
00007f973633b000       0       4       4 rw---  libnss_dns-2.11.3.so
00007f9736341000       0  149864  149864 rw---    [ anon ]
00007f973f7c1000       0      24       0 r-x--  libnss_files-2.11.3.so
00007f973f7cd000       0       0       0 -----  libnss_files-2.11.3.so
00007f973f9cc000       0       4       4 r----  libnss_files-2.11.3.so
00007f973f9cd000       0       4       4 rw---  libnss_files-2.11.3.so
00007f973f9ce000       0      12       0 r-x--  libnss_nis-2.11.3.so
00007f973f9d8000       0       0       0 -----  libnss_nis-2.11.3.so
00007f973fbd7000       0       4       4 r----  libnss_nis-2.11.3.so
00007f973fbd8000       0       4       4 rw---  libnss_nis-2.11.3.so
00007f973fbd9000       0      20       0 r-x--  libnss_compat-2.11.3.so
00007f973fbe0000       0       0       0 -----  libnss_compat-2.11.3.so
00007f973fddf000       0       4       4 r----  libnss_compat-2.11.3.so
00007f973fde0000       0       4       4 rw---  libnss_compat-2.11.3.so
00007f973fde1000       0      12       0 r-x--  libattr.so.1.1.0
00007f973fde5000       0       0       0 -----  libattr.so.1.1.0
00007f973ffe4000       0       4       4 rw---  libattr.so.1.1.0
00007f973ffe5000       0      12       0 r-x--  libcap.so.2.19
00007f973ffe9000       0       0       0 -----  libcap.so.2.19
00007f97401e8000       0       4       4 rw---  libcap.so.2.19
00007f97401e9000       0      12       0 r-x--  mod_ruid2.so
00007f97401ec000       0       0       0 -----  mod_ruid2.so
00007f97403ec000       0       4       4 rw---  mod_ruid2.so
00007f97403ed000       0       0       0 rw---    [ anon ]
00007f974042d000       0      12       0 r-x--  libtasn1.so.3.1.9
00007f974043d000       0       0       0 -----  libtasn1.so.3.1.9
00007f974063c000       0       4       4 rw---  libtasn1.so.3.1.9
00007f974063d000       0       4       0 r-x--  libgpg-error.so.0.4.0
00007f9740640000       0       0       0 -----  libgpg-error.so.0.4.0
00007f974083f000       0       4       4 rw---  libgpg-error.so.0.4.0
00007f9740840000       0       8       0 r-x--  libkeyutils.so.1.3
00007f9740842000       0       0       0 -----  libkeyutils.so.1.3
00007f9740a41000       0       4       4 rw---  libkeyutils.so.1.3
00007f9740a42000       0      16       0 r-x--  libkrb5support.so.0.1
00007f9740a49000       0       0       0 -----  libkrb5support.so.0.1
00007f9740c49000       0       4       4 rw---  libkrb5support.so.0.1
00007f9740c4a000       0      12       0 r-x--  libcom_err.so.2.1
00007f9740c4d000       0       0       0 -----  libcom_err.so.2.1
00007f9740e4c000       0       4       4 rw---  libcom_err.so.2.1
00007f9740e4d000       0      24       0 r-x--  libk5crypto.so.3.1
00007f9740e72000       0       0       0 -----  libk5crypto.so.3.1
00007f9741071000       0       8       8 rw---  libk5crypto.so.3.1
00007f9741073000       0     108       0 r-x--  libkrb5.so.3.3
00007f9741131000       0       0       0 -----  libkrb5.so.3.3
00007f9741330000       0      44      44 rw---  libkrb5.so.3.3
00007f974133b000       0      96       0 r-x--  libgnutls.so.26.14.12
00007f97413d7000       0       0       0 -----  libgnutls.so.26.14.12
00007f97415d6000       0      28      28 rw---  libgnutls.so.26.14.12
00007f97415dd000       0      24       0 r-x--  libsasl2.so.2.0.23
00007f97415f6000       0       0       0 -----  libsasl2.so.2.0.23
00007f97417f5000       0       4       4 rw---  libsasl2.so.2.0.23
00007f97417f6000       0      40       0 r-x--  libgcrypt.so.11.5.3
00007f974186a000       0       0       0 -----  libgcrypt.so.11.5.3
00007f9741a6a000       0      16      16 rw---  libgcrypt.so.11.5.3
00007f9741a6e000       0      40       0 r-x--  libgssapi_krb5.so.2.2
00007f9741aa1000       0       0       0 -----  libgssapi_krb5.so.2.2
00007f9741ca1000       0       8       8 rw---  libgssapi_krb5.so.2.2
00007f9741ca3000       0      60       0 r-x--  libldap_r-2.4.so.2.5.6
00007f9741cea000       0       0       0 -----  libldap_r-2.4.so.2.5.6
00007f9741ee9000       0      12      12 rw---  libldap_r-2.4.so.2.5.6
00007f9741eec000       0       0       0 rw---    [ anon ]
00007f9741eee000       0      20       0 r-x--  liblber-2.4.so.2.5.6
00007f9741efb000       0       0       0 -----  liblber-2.4.so.2.5.6
00007f97420fb000       0       4       4 rw---  liblber-2.4.so.2.5.6
00007f97420fc000       0      24       0 r-x--  libssh2.so.1.0.1
00007f974211f000       0       0       0 -----  libssh2.so.1.0.1
00007f974231f000       0       4       4 rw---  libssh2.so.1.0.1
00007f9742320000       0      16       0 r-x--  libidn.so.11.5.44
00007f9742351000       0       0       0 -----  libidn.so.11.5.44
00007f9742551000       0       4       4 rw---  libidn.so.11.5.44
00007f9742552000       0     252       0 r-x--  libxml2.so.2.7.8
00007f9742699000       0       0       0 -----  libxml2.so.2.7.8
00007f9742898000       0      36      36 rw---  libxml2.so.2.7.8
00007f97428a1000       0       4       4 rw---    [ anon ]
00007f97428a3000       0     376       0 r-x--  libmysqlclient.so.16.0.0
00007f9742a70000       0       0       0 -----  libmysqlclient.so.16.0.0
00007f9742c70000       0      28      28 r----  libmysqlclient.so.16.0.0
00007f9742c77000       0      88      88 rw---  libmysqlclient.so.16.0.0
00007f9742cc1000       0       4       4 rw---    [ anon ]
00007f9742cc2000       0      84       0 r-x--  libcurl.so.4.2.0
00007f9742d20000       0       0       0 -----  libcurl.so.4.2.0
00007f9742f20000       0      12      12 rw---  libcurl.so.4.2.0
00007f9742f23000       0      48       0 r-x--  libresolv-2.11.3.so
00007f9742f36000       0       0       0 -----  libresolv-2.11.3.so
00007f9743135000       0       4       4 r----  libresolv-2.11.3.so
00007f9743136000       0       4       4 rw---  libresolv-2.11.3.so
00007f9743137000       0       4       4 rw---    [ anon ]
00007f9743139000       0      20       0 r-x--  libjpeg.so.62.0.0
00007f974315c000       0       0       0 -----  libjpeg.so.62.0.0
00007f974335b000       0       4       4 rw---  libjpeg.so.62.0.0
00007f974335c000       0      24       0 r-x--  libpng12.so.0.44.0
00007f9743381000       0       0       0 -----  libpng12.so.0.44.0
00007f9743581000       0       4       4 rw---  libpng12.so.0.44.0
00007f9743582000       0      60       0 r-x--  libfreetype.so.6.6.0
00007f9743605000       0       0       0 -----  libfreetype.so.6.6.0
00007f9743804000       0      24      24 rw---  libfreetype.so.6.6.0
00007f974380a000       0      16       0 r-x--  libltdl.so.7.2.1
00007f9743813000       0       0       0 -----  libltdl.so.7.2.1
00007f9743a12000       0       4       4 rw---  libltdl.so.7.2.1
00007f9743a13000       0      28       0 r-x--  libmcrypt.so.4.4.8
00007f9743a3d000       0       0       0 -----  libmcrypt.so.4.4.8
00007f9743c3c000       0      12      12 rw---  libmcrypt.so.4.4.8
00007f9743c40000       0       0       0 rw---    [ anon ]
00007f9743c45000       0    1932       0 r-x--  libphp5.so
00007f974429c000       0       0       0 -----  libphp5.so
00007f974449c000       0     416     416 rw---  libphp5.so
00007f9744504000       0      40      40 rw---    [ anon ]
00007f9744511000       0      16       0 r-x--  libz.so.1.2.3.4
00007f9744528000       0       0       0 -----  libz.so.1.2.3.4
00007f9744727000       0       4       4 rw---  libz.so.1.2.3.4
00007f9744728000       0     880       0 r-x--  libcrypto.so.0.9.8
00007f974489d000       0       0       0 -----  libcrypto.so.0.9.8
00007f9744a9d000       0     160     160 rw---  libcrypto.so.0.9.8
00007f9744ac5000       0      12      12 rw---    [ anon ]
00007f9744ac9000       0     152       0 r-x--  libssl.so.0.9.8
00007f9744b18000       0       0       0 -----  libssl.so.0.9.8
00007f9744d17000       0      28      28 rw---  libssl.so.0.9.8
00007f9744d1e000       0     124       0 r-x--  mod_ssl.so
00007f9744d4b000       0       0       0 -----  mod_ssl.so
00007f9744f4a000       0      12      12 rw---  mod_ssl.so
00007f9744f4d000       0       4       4 rw---    [ anon ]
00007f9744f4f000       0       4       0 r-x--  mod_suexec.so
00007f9744f50000       0       0       0 -----  mod_suexec.so
00007f9745150000       0       4       4 rw---  mod_suexec.so
00007f9745151000       0       8       0 r-x--  mod_setenvif.so
00007f9745153000       0       0       0 -----  mod_setenvif.so
00007f9745353000       0       4       4 rw---  mod_setenvif.so
00007f9745354000       0       8       0 r-x--  mod_access.so
00007f9745356000       0       0       0 -----  mod_access.so
00007f9745555000       0       4       4 rw---  mod_access.so
00007f9745556000       0       8       0 r-x--  mod_auth.so
00007f9745558000       0       0       0 -----  mod_auth.so
00007f9745757000       0       4       4 rw---  mod_auth.so
00007f9745758000       0      40       0 r-x--  mod_rewrite.so
00007f9745766000       0       0       0 -----  mod_rewrite.so
00007f9745965000       0       4       4 rw---  mod_rewrite.so
00007f9745966000       0       8       0 r-x--  mod_alias.so
00007f9745969000       0       0       0 -----  mod_alias.so
00007f9745b68000       0       4       4 rw---  mod_alias.so
00007f9745b69000       0       8       0 r-x--  mod_userdir.so
00007f9745b6b000       0       0       0 -----  mod_userdir.so
00007f9745d6a000       0       4       4 rw---  mod_userdir.so
00007f9745d6b000       0       4       0 r-x--  mod_actions.so
00007f9745d6d000       0       0       0 -----  mod_actions.so
00007f9745f6c000       0       4       4 rw---  mod_actions.so
00007f9745f6d000       0       4       0 r-x--  mod_asis.so
00007f9745f6e000       0       0       0 -----  mod_asis.so
00007f974616e000       0       4       4 rw---  mod_asis.so
00007f974616f000       0      16       0 r-x--  mod_cgi.so
00007f9746175000       0       0       0 -----  mod_cgi.so
00007f9746374000       0       4       4 rw---  mod_cgi.so
00007f9746375000       0       8       0 r-x--  mod_dir.so
00007f9746377000       0       0       0 -----  mod_dir.so
00007f9746576000       0       4       4 rw---  mod_dir.so
00007f9746577000       0      20       0 r-x--  mod_autoindex.so
00007f974657f000       0       0       0 -----  mod_autoindex.so
00007f974677e000       0       4       4 rw---  mod_autoindex.so
00007f974677f000       0      20       0 r-x--  mod_include.so
00007f9746788000       0       0       0 -----  mod_include.so
00007f9746988000       0       4       4 rw---  mod_include.so
00007f9746989000       0      20       0 r-x--  mod_negotiation.so
00007f9746990000       0       0       0 -----  mod_negotiation.so
00007f9746b8f000       0       4       4 rw---  mod_negotiation.so
00007f9746b90000       0      12       0 r-x--  mod_mime.so
00007f9746b94000       0       0       0 -----  mod_mime.so
00007f9746d93000       0       4       4 rw---  mod_mime.so
00007f9746d94000       0      20       0 r-x--  mod_log_config.so
00007f9746d99000       0       0       0 -----  mod_log_config.so
00007f9746f99000       0       4       4 rw---  mod_log_config.so
00007f9746f9a000       0       4       0 r-x--  mod_env.so
00007f9746f9c000       0       0       0 -----  mod_env.so
00007f974719b000       0       4       4 rw---  mod_env.so
00007f974719c000       0     504       0 r-x--  libc-2.11.3.so
00007f97472f5000       0       0       0 -----  libc-2.11.3.so
00007f97474f4000       0      16      16 r----  libc-2.11.3.so
00007f97474f8000       0       4       4 rw---  libc-2.11.3.so
00007f97474f9000       0      20      20 rw---    [ anon ]
00007f97474fe000       0       8       0 r-x--  libdl-2.11.3.so
00007f9747500000       0       0       0 -----  libdl-2.11.3.so
00007f9747700000       0       4       4 r----  libdl-2.11.3.so
00007f9747701000       0       4       4 rw---  libdl-2.11.3.so
00007f9747702000       0      64       0 r-x--  libpthread-2.11.3.so
00007f9747719000       0       0       0 -----  libpthread-2.11.3.so
00007f9747918000       0       4       4 r----  libpthread-2.11.3.so
00007f9747919000       0       4       4 rw---  libpthread-2.11.3.so
00007f974791a000       0       4       4 rw---    [ anon ]
00007f974791e000       0       8       0 r-x--  libnsl-2.11.3.so
00007f9747933000       0       0       0 -----  libnsl-2.11.3.so
00007f9747b32000       0       4       4 r----  libnsl-2.11.3.so
00007f9747b33000       0       4       4 rw---  libnsl-2.11.3.so
00007f9747b34000       0       0       0 rw---    [ anon ]
00007f9747b36000       0       4       0 r-x--  libcrypt-2.11.3.so
00007f9747b3e000       0       0       0 -----  libcrypt-2.11.3.so
00007f9747d3d000       0       4       4 r----  libcrypt-2.11.3.so
00007f9747d3e000       0       4       4 rw---  libcrypt-2.11.3.so
00007f9747d3f000       0       0       0 rw---    [ anon ]
00007f9747d6d000       0      16       0 r-x--  libm-2.11.3.so
00007f9747ded000       0       0       0 -----  libm-2.11.3.so
00007f9747fed000       0       4       4 r----  libm-2.11.3.so
00007f9747fee000       0       4       4 rw---  libm-2.11.3.so
00007f9747fef000       0       8       0 r-x--  librt-2.11.3.so
00007f9747ff6000       0       0       0 -----  librt-2.11.3.so
00007f97481f5000       0       4       4 r----  librt-2.11.3.so
00007f97481f6000       0       4       4 rw---  librt-2.11.3.so
00007f97481f7000       0     124       0 r-x--  libapr-0.so.0.9.19
00007f974821d000       0       0       0 -----  libapr-0.so.0.9.19
00007f974841d000       0       4       4 rw---  libapr-0.so.0.9.19
00007f974841e000       0       4       4 rw---    [ anon ]
00007f974841f000       0       8       0 r-x--  libexpat.so.1.5.2
00007f9748445000       0       0       0 -----  libexpat.so.1.5.2
00007f9748645000       0       8       8 rw---  libexpat.so.1.5.2
00007f9748647000       0      40       0 r-x--  libaprutil-0.so.0.9.19
00007f974865e000       0       0       0 -----  libaprutil-0.so.0.9.19
00007f974885e000       0       4       4 rw---  libaprutil-0.so.0.9.19
00007f974885f000       0     100       0 r-x--  ld-2.11.3.so
00007f97488a1000       0    1840    1840 rw---    [ anon ]
00007f9748a79000       0      12      12 rw---    [ anon ]
00007f9748a7c000       0       4       4 r----  ld-2.11.3.so
00007f9748a7d000       0       4       4 rw---  ld-2.11.3.so
00007f9748a7e000       0       4       4 rw---    [ anon ]
00007fff6894c000       0      32      32 rw---    [ stack ]
00007fff689ff000       0       4       0 r-x--    [ anon ]
ffffffffff600000       0       0       0 r-x--    [ anon ]
----------------  ------  ------  ------
total kB          474900  324612  318572

An den Modulen scheint es nicht zu liegen - vielmehr scheint im folgenden Block der Fehler zu liegen, also möglicherweise ein Problem mit der glibc ?!?


00007f972cb18000 0 72 72 rw-s- zero (deleted)
00007f972cb2a000 0 151324 151324 rw--- [ anon ]
00007f9736136000 0 8 0 r-x-- libnss_dns-2.11.3.so
00007f973613b000 0 0 0 ----- libnss_dns-2.11.3.so
00007f973633a000 0 4 4 r---- libnss_dns-2.11.3.so
00007f973633b000 0 4 4 rw--- libnss_dns-2.11.3.so
00007f9736341000 0 149864 149864 rw--- [ anon ]
00007f973f7c1000 0 24 0 r-x-- libnss_files-2.11.3.so
00007f973f7cd000 0 0 0 ----- libnss_files-2.11.3.so
00007f973f9cc000 0 4 4 r---- libnss_files-2.11.3.so
00007f973f9cd000 0 4 4 rw--- libnss_files-2.11.3.so



Habe mir testweise eine weitere DomU unter XEN eingerichtet - mit der exakt gleichen Konfiguration tritt der Fehler nicht auf (bei einem frischen Squeeze). Denke also, es liegt irgendein Fehler beim Kompilieren vor - über Hilfe würde ich mich sehr freuen, die Maschine läuft dummerweise produktiv und ich kann sie nicht einfach auf ein neues System umziehen...


VIELEN DANK !!!!

Re: RAM Auslastung sehr hoch - Apache 2.2.22

Posted: 2012-05-09 12:44
by Joe User
http://www.snailinaturtleneck.com/blog/ ... al-memory/ erklärt das Ganze ein wenig. Letztendlich sind die [anon]-Blocks von malloc und/oder mmap alloziiert, oder gehören zum Thread Stack.

`pmap -x PID` liefert eher den wirklich genutzten Speicher.

Re: RAM Auslastung sehr hoch - Apache 2.2.22

Posted: 2012-05-09 13:08
by RForum777
Der Auszug von pmap ist 'pmap -x PID' - und zeigt (mit den anon Blöcken) eine Auslastung von 325 MB für den Apache Prozess:

total kB 474900 324952 318912


Folgender Befehl zeigt dann die Gesamtauslastung von knapp 8 GB (!) für 25 Apache Prozesse:

Code: Select all

# ps -ylC httpd --sort:rss | awk '{sum+=$8; ++n} END {print "Tot="sum"("n")";print "Avg="sum"/"n"="sum/n/1024"MB"}'
Tot=8301920(25)
Avg=8301920/25=324.294MB
Habe jetzt mal der Xen DomU mehr RAM zugewiesen, aber das kann ja nicht die Lösung sein - zumal der Apache 1.3.41 (der vorher verwendet wurde) nur einen Bruchteil (ca. 1/10) des RAMs benötigte...

Stehe im Moment wirklich auf dem Schlauch - eine "frische" Installation (auf der gleichen physischen Maschine, neue Xen Dom + frisches Squeeze) zeigte einen normalen Speicherverbrauch von 40 MB pro Prozess...

Re: RAM Auslastung sehr hoch - Apache 2.2.22

Posted: 2012-05-09 13:23
by Joe User
Dann ist da etwas nicht in Ordnung.
Kompiliere den Apache bitte nur mit den wirklich benötigten Modulen und Optionen.
Verwendest Du irgendwelche 3rd-Party Module für Apache?
Irgendwelche komplexen Konfigurationen der VHosts?

Re: RAM Auslastung sehr hoch - Apache 2.2.22

Posted: 2012-05-11 09:37
by RForum777
Es scheint tatsächlich an den VHosts zu liegen - binde ich diese ein, verschlingt der Prozess 350 MB. Kommentiere ich sie aus, braucht der Apache nur noch 7MB...

Die Konfiguration ist aber nicht allzu komplex - sind halt nur viele VHosts:

Code: Select all

<Directory "/var/www/user/html">
  Options -FollowSymLinks -SymLinksIfOwnerMatch
  <IfModule mod_access.c>
    Allow from all
  </IfModule>
  <IfModule mod_authz_host.c>
    Allow from all
  </IfModule>
  php_admin_flag engine on
</Directory>

<VirtualHost 12.34.56.110:80>
  ServerName test.domain.at
  ServerAlias www.test.domain.at suphp.domain.at www.suphp.domain.at
  DocumentRoot /var/www/user/html
  SuexecUserGroup user user
  ScriptAlias /cgi-bin/ /var/www/user/html/cgi-bin/
  php_admin_value open_basedir /var/www/user/html/:/var/www/user/phptmp/:/var/www/user/files/:/var/www/user/atd/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /var/www/user/phptmp/

php_admin_value session.save_path /var/www/user/phptmp
RUidGid user user
</VirtualHost>

<VirtualHost 12.34.56.110:80>
  ServerName guestbook.test.domain.at
  DocumentRoot /var/www/user/html/guestbook
  SuexecUserGroup user user
  ScriptAlias /cgi-bin/ /var/www/user/html/cgi-bin/
  php_admin_value open_basedir /var/www/user/html/:/var/www/user/phptmp/:/var/www/user/files/:/var/www/user/atd/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /var/www/user/phptmp/

php_admin_value session.save_path /var/www/user/phptmp
RUidGid user user
</VirtualHost>

Über Hilfe, um den Prozess trotz der VHosts zu verschlanken, wäre ich wirklich dankbar !!!!

Re: RAM Auslastung sehr hoch - Apache 2.2.22

Posted: 2012-05-11 12:53
by RForum777
Konnte das Problem nun eingrenzen und lösen:

der hohe Speicherverbrauch wurde vom Modul mod_ruid2 (v 0.9.6) in Verbindung mit sehr vielen vhosts verursacht. Eine Neukompilierung einer älteren Version (mod_ruid2 v0.9.4) hat den Speicherverbrauch drastisch sinken lassen -> von 350 Mb pro Prozess auf 35 MB:

Code: Select all

# ps -ylC httpd --sort:rss | awk '{sum+=$8; ++n} END {print "Tot="sum"("n")";print "Avg="sum"/"n"="sum/n/1024"MB"}'
Tot=786464(22)
Avg=786464/22=34.9105MB

D A N K E an Joe User, der mich auf die Idee mit den Virtual Hosts gebracht hat !!!!

Re: RAM Auslastung sehr hoch - Apache 2.2.22

Posted: 2012-05-11 13:50
by Joe User
Keine Ursache, gerne wieder ;)
Es wäre noch nett, wenn Du bei den Entwicklern des Moduls einen Bugreport verfasst.

Re: RAM Auslastung sehr hoch - Apache 2.2.22

Posted: 2012-07-16 11:55
by RForum777
Hallo Joe User,

habe ich gleich darauf gemacht :-) Der Entwickler hat den Bug auch relativ schnell gefunden und in Version 0.9.7 (vom 13. Mai 2012, also nur 2 Tage danach) behoben...

Sorry auch für die späte Antwort...

Re: RAM Auslastung sehr hoch - Apache 2.2.22

Posted: 2012-07-16 14:38
by Joe User
Perfekt, danke Dir für den Bugreport und Dein Feedback.