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

2006-08-23 Thread Philip M. Gollucci
Jonathan wrote: > i formatted a spare drive and isntalled ubuntu- then installed my stuff > > here are osx , freebsd and ubuntu (debian ) > > all numbers are from ps aux , and list ( in this order ) > VSZRSS > Startup > OSXFreeBSDUbuntu > Pare

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

2006-08-23 Thread Jonathan
i formatted a spare drive and isntalled ubuntu- then installed my stuff here are osx , freebsd and ubuntu (debian ) all numbers are from ps aux , and list ( in this order ) VSZ RSS Startup OSX FreeBSD Ub

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

2006-08-23 Thread Jonathan
On Aug 23, 2006, at 6:05 PM, Jonathan Tweed wrote: I'm not clear on how these numbers are interpreted, but it looks to me that the FreeBSD is allocating all 30MB at startup. Have I missed something in httpd.conf that will cause this? It also looks like 64656 has been replaced by 64835 but I

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

2006-08-23 Thread angie ahl
Sorry. The OSX config I sent was from the wrong OSX server, which won't help. Too many terminal windows open (blush): Heres the config for my OSX Apache2 server: # /home/apache2/bin/httpd -V Server version: Apache/2.0.55 Server built: Feb 28 2006 11:44:34 Server's Module Magic Number: 20020903

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

2006-08-23 Thread angie ahl
Now for the same outputs from my OSX dev server. Something to note here. I made a significant change today that isn't reflected in my FreeBSD server. The perlresponse handler was being set in the httpd.conf. I've started using the access handler to set the response handler and I saw a sudden and h

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

2006-08-23 Thread Philip M. Gollucci
Jonathan Tweed wrote: www 60645 0.0 5.8 73068 60504 ?? S 8:25PM 0:00.00 /usr/local/sbin/httpd mean that 73068 - 60504 = 12564 is shared (at least according to ps)? No, thats supposed to be ~73MB is the address space mapped by the process ~60MB is actually resident in memory. The

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

2006-08-23 Thread angie ahl
Sorry that ps aux showed up the memory bloat problem I've got with uploads. After a graceful it looks more like this: ps aux | grep httpd root 15469 4.3 6.0 71444 62608 ?? Ss 12:34AM 0:01.32 /usr/sbin/httpd apache 15470 3.6 6.3 74696 65312 ?? S12:34AM 0:00.75 /usr/sbin/httpd a

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

2006-08-23 Thread angie ahl
FYI # ps aux | grep httpd apache 15113 0.9 10.3 119952 107436 ?? S12:30AM 0:00.24 /usr/sbin/httpd root 556 0.1 10.1 116980 105072 ?? Ss3:11AM 0:14.87 /usr/sbin/httpd apache 15109 0.0 10.2 117524 105592 ?? S12:30AM 0:00.04 /usr/sbin/httpd apache 15110 0.0 10.3 11998

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

2006-08-23 Thread Jonathan Tweed
On 23 Aug 2006, at 21:20, Jonathan wrote: First off, Jonathan T and are running the same setup and compile options. I believe its just the stock apache 2.0 port off freebsd. Correct. philip has more memory sharing than me, but not as much as Jonathan T. Sorry for my ignorance, but doe

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

2006-08-23 Thread angie ahl
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 o

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

2006-08-23 Thread Jonathan Tweed
Ok, I'm seriously confused ;-) I created a startup.pl that allocated 10MB and a handler that allocated 20MB. I removed all other vhosts on the machine and didn't preload any modules. On an OS X box running Apache 1.3 (not directly comparable but all I had to hand): 10mb startup.pl root

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

2006-08-23 Thread Philip M. Gollucci
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. G

Re: Protecting source code

2006-08-23 Thread JupiterHost.Net
> I am writting web application for mod_perl which will be installed > on client's server. Application is almost finished and now I am > wondering which is the best way to protect source code. > > Already checked Module::Crypt but cound't get it to work. It > doesn't create any output file. I came

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

2006-08-23 Thread Jonathan
On Aug 23, 2006, at 3:51 PM, Philip M. Gollucci wrote: load nothing, except maybe Apache::SizeLimit ... I'll try that tonight I'm betting that top/ps are going to be off and the RUSAGE() will be correct I'm not convinced that they report Copy-on-Write pages correctly i've been profiling wi

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

2006-08-23 Thread Philip M. Gollucci
Jonathan Tweed wrote: On 23 Aug 2006, at 19:53, Jonathan Vanasco wrote: I still haven't tracked down what could cause the not-sharing under FreeBSD. I caved in and got some people from my local BSD user group to help me look into it I'm seeing huge memory usage on FreeBSD as well. I was act

Re: Protecting source code

2006-08-23 Thread Hendrik Van Belleghem
As the author of Filter::CBC, another source code encryption module, I can officially state that module encryption is not supported by my module either. You might want to look at Filter::Crypto but I have no experience with it. HTH On 8/23/06, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: On Aug

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

2006-08-23 Thread Jonathan Tweed
On 23 Aug 2006, at 19:53, Jonathan Vanasco wrote: I still haven't tracked down what could cause the not-sharing under FreeBSD. I caved in and got some people from my local BSD user group to help me look into it I'm seeing huge memory usage on FreeBSD as well. I was actually about to post

Re: Protecting source code

2006-08-23 Thread Jonathan Vanasco
On Aug 23, 2006, at 8:01 AM, Miha Lampret wrote: Hello all, I am writting web application for mod_perl which will be installed on client's server. Application is almost finished and now I am wondering which is the best way to protect source code. Already checked Module::Crypt but cound't

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

2006-08-23 Thread Jonathan Vanasco
I still haven't tracked down what could cause the not-sharing under FreeBSD. I caved in and got some people from my local BSD user group to help me look into it In the meantime , if anyone reading this is running mp2 under FreeBSD, would be you kind enough to help me by sending me some

Re: [RELEASE CANDIDATE] libapreq2 2.08-RC4

2006-08-23 Thread Radoslaw Zielinski
Philip M. Gollucci <[EMAIL PROTECTED]> [20-07-2006 07:17]: > autotools set 3: ac - 2.60, am: 1.9.6, lt: 1.5.22 (latest stable releases) > (autconf 2.60 does not work: gcc Apache2.c breaks ?) glue/perl/Makefile.PL messes with autoconf internals, reading config.status and trying to read PACKAG

Protecting source code

2006-08-23 Thread Miha Lampret
Hello all, I am writting web application for mod_perl which will be installed on client's server. Application is almost finished and now I am wondering which is the best way to protect source code. Already checked Module::Crypt but cound't get it to work. It doesn't create any output file. I

Re: dynamic loading

2006-08-23 Thread Arshavir Grigorian
Thanks for all the posts.