Re: [PHP4BETA] Where does my memory go?

From: Date: Thu, 16 Mar 2000 19:45:59 +0000
Subject: Re: [PHP4BETA] Where does my memory go?
Groups: php.version4 
Request: Send a blank email to php-version4+get-12283@lists.php.net to get a copy of this message
Your memory could be going for 'cache'. It is normal for a system to get to the point where their is very little physical memory remaining, after running for a while. If, however, when you run top it does not show the memory under 'cache', then you might look for a program that is leaking. Having the OS use memory for cache, rather than leaving it as 'free mem' actually improves performance. If the memory is needed elsewhere, it can be reallocated. If you have reason to feel that something is leaking memory, capture the results of top, with memory usage stats and do the same several days later. If you see a program that started with 5M and after a few days has 200M, it could very well be your culprit. Shawn Fox DB Developer TxDOT sfox2@dot.state.tx.us >>> Alex zhang <cd_av2av2@yahoo.com> 03/16/00 01:10PM >>> Hi,there I have one server(Linux6.0+Apache+PHP+Mysql). First I have 256M memory(from "top" result), then after a few days, it just 3M memory left, then always about 3M .If I reboot the computer, it changed to 256M. But I can see it reduce little by little, then about 3M again. I have about 128M swap.And I want to know the reason for that. Thanx in advance alex __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com -- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.net

« previous php.version4 (#12283) next »