perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan <modperl-l...@2xlp.com>
Subject Re: Prefork not sharing on FreeBSD, but sharing on OSX ?
Date Sun, 13 Aug 2006 05:05:01 GMT

On Aug 12, 2006, at 10:10 PM, Philip M. Gollucci wrote:
> What are you using to measure this on each ?

ok.   this is f'd up

i tried Gtop on my production box (FreeBSD 6)- the children were 16mb

meanwhile,  top is showing me this:
www      97088  0.0 25.3 260548 254976  ??  I    12:42AM   0:00.02 / 
usr/local/sbin/httpd
www      97089  0.0 25.3 260548 254976  ??  I    12:42AM   0:00.02 / 
usr/local/sbin/httpd
www      97092  0.0 25.3 260548 254976  ??  I    12:42AM   0:00.01 / 
usr/local/sbin/httpd
www      97098  0.0 25.3 260548 254976  ??  I    12:42AM   0:00.02 / 
usr/local/sbin/httpd
www      97099  0.0 25.3 260548 254976  ??  I    12:42AM   0:00.02 / 
usr/local/sbin/httpd
www      97101  0.0 25.3 260548 254976  ??  I    12:42AM   0:00.02 / 
usr/local/sbin/httpd
www      97105  0.0 25.3 260548 254976  ??  I    12:42AM   0:00.02 / 
usr/local/sbin/httpd
www      97107  0.0 25.3 260548 254976  ??  I    12:42AM   0:00.02 / 
usr/local/sbin/httpd
www      97109  0.0 25.3 260548 254976  ??  I    12:42AM   0:00.02 / 
usr/local/sbin/httpd
www      97112  0.0 25.3 260548 254976  ??  I    12:42AM   0:00.01 / 
usr/local/sbin/httpd
www      97119  0.0 25.3 260548 254976  ??  I    12:42AM   0:00.02 / 
usr/local/sbin/httpd
www      97120  0.0 25.3 260548 254976  ??  I    12:42AM   0:00.02 / 
usr/local/sbin/httpd
www      97122  0.0 25.3 260548 254976  ??  I    12:42AM   0:00.02 / 
usr/local/sbin/httpd
www      97126  0.0 25.3 260548 254976  ??  I    12:42AM   0:00.02 / 
usr/local/sbin/httpd

i've somehow gone from 50mb processes to  250MB ones
also, apparently, i have roughly base 300% memory (not base 100%  
like.. the universe )

i tried running
	top -Uwww

I'm seeing multiple processes with
	255M SIZE
	249M RES

so i'm just  going to  ask  this instead

	1)  what is typical of a webapp under mod_perl  in terms of memory ?
	2)  how the hell do you measure that memory, under osx and freebsd ?

everything i'm using to measure memory is giving me DRASTICALLY  
different numbers.

the custom framework I wrote isn't crazy big - its 120k of  perl that  
really just wraps Petal, Rose, and provides extensibility to just jet  
them and choose another component. i'd say 30% of the overhead in it  
is debugging calls, and Apache::Status shows it as about 1.3mb of  
compiled code.    the business object of the webapp is *maybe* 300k  
of perl and petal documents.  so maybe 2mb of perl?



Mime
View raw message