Memory problem !!
| From: | Hugo Mel�ndez | Date: | Tue, 11 Jan 2000 20:26:04 +0000 |
| Subject: | Memory problem !! | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9045@lists.php.net to get a copy of this message | ||
Hi,
I've a problem with php4 module in httpd
When I start it, the httpd takes RAM memory till 8Mb free, so it's using
almost 250 mb of memory.
I've a Linux RedHat 6.0 running on a Pentium III 450 Mhz with 256 Mb Ram
apache 1.3.9
PHP 4 beta 3
Any clue about the problem? I''m using sessions features from php4. Could it
be this to be the problem? Is there any kind of memory leak about php
sessions?
I'm adding additional info about my system.
Regards.
Hugo Meléndez
hmelendez@bumeran.com
this is the modules that the running apache have built on it
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_setenvif.c
mod_ssl.c
mod_php4.c
this is the output from a top order by real memory usage ("M" option)
4:38pm up 19 days, 20:54, 1 user, load average: 0.00, 0.00, 0.00
37 processes: 36 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 0.3% user, 0.5% system, 0.0% nice, 99.0% idle
Mem: 257880K av, 249412K used, 8468K free, 39332K shrd, 20140K buff
Swap: 449812K av, 6044K used, 443768K free 175080K cached
PID SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
22685 10688 7760 3156 S 0 0.0 3.0 2:36 httpd
22701 10340 7412 3160 S 0 0.0 2.8 2:40 httpd
22682 10280 7348 3156 S 0 0.0 2.8 2:37 httpd
22681 10300 7320 3108 S 0 0.0 2.8 2:24 httpd
22720 10248 7320 3160 S 0 0.0 2.8 2:40 httpd
22700 10244 7316 3164 S 0 0.0 2.8 2:45 httpd
22699 10152 7224 3160 S 0 0.0 2.8 2:41 httpd
22684 10124 7196 3164 S 0 0.0 2.7 2:42 httpd
22725 10048 7124 3180 S 0 0.0 2.7 2:42 httpd
22683 9944 7016 3160 S 0 0.0 2.7 2:37 httpd
524 5764 1836 1572 S 0 0.0 0.7 0:00 httpd