Re: php4 memory leaks

From: Date: Mon, 23 Oct 2000 08:16:00 +0000
Subject: Re: php4 memory leaks
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21725@lists.php.net to get a copy of this message
Sorry guys, this is not a php-fault nor a os-fault. It's a nice feature of Linux. When there if free RAM, then Linux uses nearly the whole free RAM for IO-caching. So the more RAM you put in, the more Linux uses for caching. When an application needs more RAM, then Linux frees cache. Michael Vanecek wrote: >> With several instances of Netscape open with at least one Netscape being >> a zombie (Netscape's my primary target for memory leaks), mysql and >> postgresql running, apache, PHP4.03 with virtually every module from pdf >> to imap, Bluefish 0.5 and God knows what else, I have to say I'm not too >> disapointed with my figures that aren't too far from yours. X and X >> applications takes up most of it. I thought doubling my RAM would leave >> me with more "free" RAM, but it all get's alocated in one way or >> another... So it's probably more of a matter of memory hog in there >> somewhere rather than a memory leak. >> >> Mike >> >> 257660 av, 179024 used, 78640 free, 117076 shared, 14260 buff, 87100 >> cached >> >> Dan Phoenix wrote: >> > >> > Mem: 257028K av, 230168K used, 26860K free, 232004K shrd, 19228K buff >> > this is from a linux machine with maxclients set to >> > 100 >> > and version >> > [Fri Oct 20 15:18:03 2000] [notice] Apache/1.3.12 (Unix) PHP/4.0.3pl1 >> > configured -- resuming normal operations >> > >> > anyone? >> > >> > top does not even show that much memory being used. >> > i am thinking memory leak in php code in new version? >> > >> > --- >> > Dan >> --------------------------------------------------- Tel.: (49)7150/393394 Parity Software GmbH Fax.: (49)7150/393351 Stuttgarter Strasse 42/2 E-Mail: js@parity-soft.de D-71701 Schwieberdingen ---------------------------------------------------

« previous php.general (#21725) next »