I'm running MP2/Apache2 on FreeBSD 5.3 and under OSX (10.4.6) and my memory usage is around 70MB per child on FreeBSD and only 30MB per child on OSX. I'm also debugging seg faults that seem to be generated by Apache itself (I disabled ModPerl and ModPHP dso's to be sure) so I'll be running a lot of tests on this FreeBSD server onver the next few weeks.
It's late here in the UK so I'll check my outputs of ps aux etc tomorrow when I'm back in the server. One thing I did notice though is at first I suspected PHP as the cause of the seg faults and disabling it only removed 10MB per child ie each child was 60MB rather than 70 (these are rough figures from memory.) My OSX setup runs exactly the same perl modules (although there may be slight variations in versions, only slight though) but does not run modphp. I'm seeing huge problems with uploads which is something to investigate further. I've been forced to remove the from modperl altogether and send them to a perlcgi script instead but I'm still seeing the loss of memory which is almost exactly the same amount as the file that's uploaded. Can't see where it's going. Don't know if this could be relevant to you or not. Of course my FreeBSD server having 3 seg faults a minute doesn't help as an apachectl gracfeul doesn't get the ram back like it does on my OSX server. I just thought I'd mention this as I've tried Apache2:Upload and CGI to handle the uploads and got the leak, but I really expected that to stop when I switched to doing the upload via CGI, so now I'm suspicious of Apache itself again. Running Apache 2.0.59 BTW HTH. Let me know if there's anything you'd like me to test on OSX too. It's FreeBSD underneath... kinda ;) Angie On 8/23/06, Philip M. Gollucci <[EMAIL PROTECTED]> wrote:
Jonathan wrote: > philip has more memory sharing than me, but not as much as Jonathan T. Just for reference I agree with the amount of memory I'm using and is being shared. 73MB (64MB shared) or about that -- ------------------------------------------------------------------------ Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F "In all that I've done wrong I know I must have done something right to deserve a hug every morning and butterfly kisses at night." __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / / /|_/ / // /\ \/ /_/ / /__ /_/ /_/\_, /___/\___\_\___/ <___/