Help !!! Apache HTTP process consumes high memory usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have build an Apache instance 2.2.15 with prefork MPM and most of the modules as shared.  I have PHP and MYSQL installed and configured on this machine (MYSQL client) with this every process created by Apache daemon consumes 280M memory almost for each call.

I am running on RHEL 5 with 5 Gig of memory when load increases on server it takes down the machine. Also I could see each library getting called thrice makes the HTTPD daemon heavy weight.

Please advice how could I trim down the memory consumption by each process.

00002ba99ca0f000      8K rw---  /usr/lib64/php/modules/mysql.so
00002ba99ca2c000   1220K r-x--  /usr/lib64/mysql/libmysqlclient.so.16.0.0
00002ba99cb5d000   2044K -----  /usr/lib64/mysql/libmysqlclient.so.16.0.0
00002ba99cd5c000    308K rw---  /usr/lib64/mysql/libmysqlclient.so.16.0.0
00002ba99cda9000      4K rw---    [ anon ]
00002ba99cdaa000    104K r-x--  /usr/lib64/php/modules/mysqli.so
00002ba99cdc4000   2044K -----  /usr/lib64/php/modules/mysqli.so
00002ba99cfc3000     12K rw---  /usr/lib64/php/modules/mysqli.so
00002ba99cfc6000      4K rw---    [ anon ]
00002ba99cfc7000     88K r-x--  /usr/lib64/php/modules/pdo.so
00002ba99cfdd000   2048K -----  /usr/lib64/php/modules/pdo.so
00002ba99d1dd000     12K rw---  /usr/lib64/php/modules/pdo.so
00002ba99d1e0000     24K r-x--  /usr/lib64/php/modules/pdo_mysql.so
00002ba99d1e6000   2048K -----  /usr/lib64/php/modules/pdo_mysql.so
00002ba99d3e6000      4K rw---  /usr/lib64/php/modules/pdo_mysql.so
00002ba99d3e7000     20K r-x--  /usr/lib64/php/modules/pdo_sqlite.so
00002ba99d3ec000   2048K -----  /usr/lib64/php/modules/pdo_sqlite.so
00002ba99d5ec000      4K rw---  /usr/lib64/php/modules/pdo_sqlite.so
00002ba99d608000    356K r-x--  /usr/lib64/libsqlite3.so.0.8.6
00002ba99d661000   2044K -----  /usr/lib64/libsqlite3.so.0.8.6
00002ba99d860000     12K rw---  /usr/lib64/libsqlite3.so.0.8.6
00002ba99d863000    300K r-x--  /usr/lib64/php/modules/soap.so
00002ba99d8ae000   2044K -----  /usr/lib64/php/modules/soap.so
00002ba99daad000     12K rw---  /usr/lib64/php/modules/soap.so
00002ba99dab0000     64K r-x--  /usr/lib64/php/modules/sqlite.so
00002ba99dac0000   2044K -----  /usr/lib64/php/modules/sqlite.so
00002ba99dcbf000      8K rw---  /usr/lib64/php/modules/sqlite.so
00002ba99dcdc000    284K r-x--  /usr/lib64/libsqlite.so.0.8.6
00002ba99dd23000   2044K -----  /usr/lib64/libsqlite.so.0.8.6
00002ba99df22000     12K rw---  /usr/lib64/libsqlite.so.0.8.6
00002ba99df25000     28K r-x--  /usr/lib64/php/modules/wddx.so
00002ba99df2c000   2048K -----  /usr/lib64/php/modules/wddx.so
00002ba99e12c000      4K rw---  /usr/lib64/php/modules/wddx.so
00002ba99e12d000     28K r-x--  /usr/lib64/php/modules/xmlreader.so
00002ba99e134000   2044K -----  /usr/lib64/php/modules/xmlreader.so
00002ba99e333000      8K rw---  /usr/lib64/php/modules/xmlreader.so
00002ba99e335000     84K r-x--  /usr/lib64/php/modules/xmlrpc.so
00002ba99e34a000   2048K -----  /usr/lib64/php/modules/xmlrpc.so
00002ba99e54a000      4K rw---  /usr/lib64/php/modules/xmlrpc.so
00002ba99e54b000     28K r-x--  /usr/lib64/php/modules/xmlwriter.so
00002ba99e552000   2044K -----  /usr/lib64/php/modules/xmlwriter.so
00002ba99e751000      8K rw---  /usr/lib64/php/modules/xmlwriter.so
00002ba99e753000     28K r-x--  /usr/lib64/php/modules/xsl.so
00002ba99e75a000   2044K -----  /usr/lib64/php/modules/xsl.so
00002ba99e959000      4K rw---  /usr/lib64/php/modules/xsl.so
00002ba99e95a000     68K r-x--  /usr/lib64/php/modules/zip.so
00002ba99e96b000   2044K -----  /usr/lib64/php/modules/zip.so
00002ba99eb6a000      8K rw---  /usr/lib64/php/modules/zip.so
00007fff7f412000    136K rw---    [ stack ]
ffffffffff600000   8192K -----    [ anon ]
 total           287324K

Best Regards,
Arun J

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux