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

2006-08-13 Thread angie ahl
I'll be following this thread with interest as I'm seeing similar behaviour on my FreeBSD box. I also have a local server on OSX. My Apache children are around 20MB of OSX and 75MB on FreeBSD. This is using top to measure. I'm also getting an awful lot of seg faults in the log but I haven't

Sort issue

2006-08-13 Thread Mike OK
Hi I would like to do some custom sorting with some hash data that I have stored. It will be used in a mod_perl application so I would like to ensure that the variables are safe and local. My worry is that I plan to call a subroutine with sort but I have no idea how to pass the variables

Re: status() vs constants

2006-08-13 Thread Perrin Harkins
On Sat, 2006-08-12 at 16:46 -0400, Michael Peters wrote: Now, in my handler sub I want to return the corresponding constant for whatever status() is set to. Under mod_perl 1.x this worked by just returning the status() since OK == 200, SERVER_ERROR == 500, etc. But this isn't true under

Re: Memory Usage Reporting?

2006-08-13 Thread Jonathan Vanasco
I did some tests, some interesting results my processes no longer seem to be 300mb. which is good. however, when that happened, i was seeing a 300mb process and then 6mb in a child. now i'm back to seemingly unshared memory. based on my tests below, i *think* that it may have been

Re: status() vs constants

2006-08-13 Thread Geoffrey Young
Now, in my handler sub I want to return the corresponding constant for whatever status() is set to. Under mod_perl 1.x this worked by just returning the status() since OK == 200, SERVER_ERROR == 500, OK is not 200. OK is 0, HTTP_OK is 200. 'tis always been this way :) etc. But this

Re: Sort issue

2006-08-13 Thread Mike OK
After a few off list hints and hours of searching and reading I have solved the issue. Here is the link to the page I found helpful. Very belated thanks (almost 6 years) goes to Stas Bekman. Mike http://www.gossamer-threads.com/lists/modperl/modperl/35645?search_string=so