Re: Prefork not sharing on FreeBSD, but sharing on OSX ?

2006-08-12 Thread Jonathan
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 ?? I12:42AM 0:00.

Re: Prefork not sharing on FreeBSD, but sharing on OSX ?

2006-08-12 Thread Jonathan Vanasco
On Aug 12, 2006, at 10:10 PM, Philip M. Gollucci wrote: What are you using to measure this on each ? top and ps i'm trying to get gtop installed on my osx box. the lib is in darwinports. i'm not sure if it'll play with standard osx stuff. i fear it wont. // Jonathan Vanasco

Re: Prefork not sharing on FreeBSD, but sharing on OSX ?

2006-08-12 Thread Philip M. Gollucci
Jonathan Vanasco wrote: > I'm running a webapp on some FreeBSD6 boxes , and dev on a few OSX > machines. > > The httpd.conf files themselves may be slightly different , but they all > use prefork and the same 'include' file which > runs a startup.PL which does "use xxx()" , precompiles templat

Re: apache2::Status & B::TerseSize

2006-08-12 Thread Jonathan
ok, also found I also figured this out: in B::TerseSize, line 634 - my $script = $q->script_name; + my$script ; + if ( defined $q && $q ) + { + $script = $q->script_name; + } Killing that makes a lot more things work too. The only caveat of that, is that 'memory usage' doesn't appe

Re: apache2::Status & B::TerseSize

2006-08-12 Thread Jonathan
I'm finding some issues with the 2 modules i think some of it happens when you have a module that has no subroutines ( ie , a namespace placeholder or something ) check out ~ line 551 in Apache2::Status adding a few over-the-top checks seems to help, and gets memory use working on more i

Re: status() vs constants

2006-08-12 Thread Jonathan Vanasco
That seems to work for me under MP2 My first guess is that it has to do with status renamings... Instead of setting something to 200 / 500 , why not just set it to the name of the status code, then use a Hash to pull out the appropriate code for apache1/apache2? personally i like 'human te

Error with B::TerseSize WAS: apache2::Status & B::TerseSize

2006-08-12 Thread Jens Gassmann
Hi Philip I assume you have the latest B-Size module installed (included TerseSize) 0.08 ? After the reading about the Apache::Status-Moduls, i give it a try. But the interessing links fails :-( Here the first information about the error, maybe you have an idea where i could start the debu

status() vs constants

2006-08-12 Thread Michael Peters
I've got a module which wraps the creation and execution of an object inside of a few routines. It's up to those routines to set the status(). If the class can't be found it's a 404, if the object doesn't execute it's a 500, etc. Now, in my handler sub I want to return the corresponding constant f

Prefork not sharing on FreeBSD, but sharing on OSX ?

2006-08-12 Thread Jonathan Vanasco
I'm running a webapp on some FreeBSD6 boxes , and dev on a few OSX machines. The httpd.conf files themselves may be slightly different , but they all use prefork and the same 'include' file which runs a startup.PL which does "use xxx()" , precompiles templates, and connects to the DB for s