You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Ing. Rogelio Sevilla Fernandez" <se...@correo.col.gob.mx> on 2004/07/27 21:12:42 UTC
[users@httpd] Memory Leak.
Im runnning Apache-1.3.31 + Mod_SSL + PHP 4.3.8 Over Solaris 8 Sparc. All
Apache was compiled DSO type and the same thing for SSL and PHP,
but i think im having a memory leak.
When i start apache, TOP show this:
14895 www 4 30 0 10M 4080K sleep 0:00 0.17% httpd
14894 www 3 40 0 10M 3624K sleep 0:00 0.07% httpd
14893 www 3 60 0 10M 3648K sleep 0:00 0.07% httpd
14898 www 3 0 0 10M 3112K sleep 0:00 0.05% httpd
14897 www 3 10 0 10M 3112K sleep 0:00 0.05% httpd
14896 www 3 20 0 10M 3104K sleep 0:00 0.05% httpd
After some hours, TOP show this
10585 www 3 0 0 16M 12M sleep 0:42 0.22% httpd
14646 www 3 58 0 15M 10M sleep 0:01 0.03% httpd
10590 www 3 58 0 16M 12M sleep 0:45 0.02% httpd
10663 www 3 58 0 15M 11M sleep 0:51 0.01% httpd
10580 www 3 58 0 18M 13M sleep 0:50 0.01% httpd
10655 www 3 58 0 15M 11M sleep 0:45 0.01% httpd
10596 www 3 58 0 16M 12M sleep 0:41 0.01% httpd
10598 www 3 58 0 35M 31M sleep 0:53 0.00% httpd
10579 www 3 58 0 16M 12M sleep 0:52 0.00% httpd
10582 www 3 58 0 15M 11M sleep 0:51 0.00% httpd
10599 www 3 58 0 63M 55M sleep 0:48 0.00% httpd
10654 www 3 58 0 29M 25M sleep 0:46 0.00% httpd
10653 www 3 58 0 15M 11M sleep 0:41 0.00% httpd
10584 www 3 58 0 16M 11M sleep 0:38 0.00% httpd
10581 www 3 58 0 28M 24M sleep 0:37 0.00% httpd
Notice the 10599 process. It are using 63M and in some times, one process
of httpd use about 100MB.
to start apache i use this script:
#!/bin/sh
LANG=es_ES
export LANG
#apachectl startssl
LD_PRELOAD=/usr/lib/libintl.so apachectl startssl
I start apache with this script, because im running Horde and its the only
form i found to use translations in Horde.
My httpd.conf have this config lines:
MinSpareServers 7
MaxSpareServers 15
StartServers 6
MaxClients 150
MaxRequestsPerChild 1000
Anyone have any idea why my apache is eating a lot of memory.
Thanks
---------------------------------------------------------
Ing. Rogelio Sevilla Fernandez Tel. (312)3162000
Administrador de Gestion de Redes. Colima, Col.
Direccion de Desarollo Telematico
Complejo Administrativo del Gobierno del Estado
---------------------------------------------------------
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org