[pLog-svn] Process size

Ayalon ayalon at blog.nl
Wed Dec 13 12:39:58 GMT 2006


What is the best way to see what lifetype is calling for kind of includes
etc?

Now I see a lot of big processes which take a lot of mem of apache:

49440 www         1   4    0   246M   103M accept 1   0:17  7.57% httpd
49417 www         1  96    0   246M   103M select 1   0:15  2.73% httpd
49426 www         1  96    0   244M   100M select 1   0:16  1.17% httpd


The metrics show this:

20061213132833,1750536,0.065476179122925,144,1,10,10,,"/index.php","/index.p
hp?op=AuthImageShow"
20061213132833,1918224,0.66086292266846,179,4,175,175,,"/page","/page/15"
20061213132835,1928528,1.0433170795441,181,7,101,99,2,"/error.php","/sportsw
ear_anno_2006/2006/08/31/sneakers_2007"
20061213132836,1941616,0.45854687690735,182,7,102,100,2,"/error.php","/real-
life_shows/2006/09/15/arie_ribbens_alpenzusjes_en_sugar_lee_in_schnabbelsoap
"
20061213132836,1626192,0.039638996124268,132,1,4,4,,"/error.php","/funk/2006
/12/12/nieuwe-video-cornelius-fit-song"
20061213132837,1760208,0.06320595741272,144,2,10,9,1,"/index.php","/index.ph
p?op=AuthImageShow"
20061213132838,1630456,0.040371894836426,132,1,4,4,,"/error.php","/idols/200
6/12/01/vergeet_idols_en_x-factor_esmee_gebruikt_youtube"
20061213132839,1592472,0.037331104278564,130,0,3,3,,"/home.php","/"
20061213132839,1596936,0.037442922592163,130,0,3,3,,"/home.php","/"
20061213132839,1761824,0.078922986984253,144,1,10,10,,"/index.php","/index.p
hp?op=AuthImageShow"
20061213132840,1941048,0.40758085250854,182,5,93,93,,"/error.php","/celebs/2
006/12/04/eddie-murphy-dist-zijn-vriendin-mel-b."
20061213132840,1618392,0.041217088699341,132,1,4,4,,"/error.php","/armin_van
_buuren/2006/11/13/armin_only_2006_de_videobeelden"
20061213132841,1764992,0.074999094009399,144,1,10,10,,"/index.php","/index.p
hp?op=AuthImageShow" 


Which is in my opinion a lot of memory use for the script. Can I see in some
way what can cause this, to help out for the rest which will probably have
the same issues...



-----Oorspronkelijk bericht-----
Van: plog-svn-bounces at devel.lifetype.net
[mailto:plog-svn-bounces at devel.lifetype.net] Namens Jon Daley
Verzonden: dinsdag 12 december 2006 19:35
Aan: plog-svn at devel.lifetype.net
Onderwerp: RE: [pLog-svn] Process size

 	Is that before any lifetype pages are run?

On Tue, 12 Dec 2006, Ayalon wrote:

> The strange thing is that the proces is starting with a size of 192M, 
> without doing anything. Ok I run eaccelerator which can use up to 
> 64mb, so that leaves another 135mb. Does anybody else have these kind of
outputs?
>
> Anything to show on the devel enviroment?
>
> -----Oorspronkelijk bericht-----
> Van: plog-svn-bounces at devel.lifetype.net
> [mailto:plog-svn-bounces at devel.lifetype.net] Namens Jon Daley
> Verzonden: dinsdag 12 december 2006 18:43
> Aan: plog-svn at devel.lifetype.net
> Onderwerp: Re: [pLog-svn] Process size
>
> 	I run php as a cgi, so each page view results in a new process, so 
> that couldn't happen to me.
> 	Does php automatically clean up variables when you run as a module?
> I think I clean up all of the database handles.
>
> On Tue, 12 Dec 2006, Ayalon wrote:
>
>> Hi All,
>>
>> Can some people show me the outpot of there top commands at there 
>> unix/linux servers?
>>
>> I think there's some problem with the start of the lifetype script, 
>> but i need to be sure if it's only my server or everybody has it.
>>
>> I'm intressted in the top command and then especially a few running 
>> httpd processes.
>>
>> Mine can grow up to 253mb..
>>
>> For example:
>>
>> 18928 www         1   4    0   192M 22736K accept 0   0:04  1.07% httpd
>> 18926 www         1   4    0   192M 19416K accept 1   0:05  1.03% httpd
>> 18372 www         1   4    0   251M 22524K accept 1   0:16  0.97% httpd
>>
>> _____________________________________________________________________
>> _ This email has been scanned by the MessageLabs Email Security 
>> System.
>> For more information please visit http://www.messagelabs.com/email 
>> _____________________________________________________________________
>> _ _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://devel.lifetype.net/mailman/listinfo/plog-svn
>>
>
> --
> Jon Daley
> http://jon.limedaley.com/
>
> It is now proved beyond doubt that smoking is one of the leading 
> causes of statistics.
> -- Fletcher Knebel
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>

--
Jon Daley
http://jon.limedaley.com/

Just be good and kind to your children.  Not only are they the future of the
world, they're the ones who can sign you into the home.
-- Dennis Miller
_______________________________________________
pLog-svn mailing list
pLog-svn at devel.lifetype.net
http://devel.lifetype.net/mailman/listinfo/plog-svn




More information about the pLog-svn mailing list