switch codes from mp1 to mp2

2007-11-06 Thread Jeff Pang
hello, we have some mp1 programs including both handlers and registry scripts,run for long days. since apache2 is better than apache1.3, we have made the choice to upgrade the mp1 programs to mp2. Is there any easy way or guide to do it? thank you. National Bingo Night. Play along for

Re: child process exited with status ### - Restarting

2007-11-06 Thread Tom Donovan
Dileep Eduri wrote: Hello Folks, I am using Apache/2.2.6 (Win32) mod_perl/2.0.3 Perl/v5.8.8 configured ... Here is log entry for that: [Tue Nov 06 20:42:23 2007] [notice] Parent: child process exited with status 9 -- Restarting. Seeking for desparate help.. regards, Dileep I think this is A

child process exited with status ### - Restarting

2007-11-06 Thread Dileep Eduri
Hello Folks, I am using Apache/2.2.6 (Win32) mod_perl/2.0.3 Perl/v5.8.8 configured I have following entries for mod_perl in httpd.conf Alias /perl/ C:/Apache2.2/perl/ PerlModule ModPerl::Registry SetHandler perl-script PerlHandlerModPerl::Registry Options+ExecCGI Pe

Re: no request object for scripts, debian etch packaged apache2, mod_perl2

2007-11-06 Thread Collin Monahan
> > I have googled around quite a bit but haven't found anything for > > this. > > > > Using Apache 2.2.3, mod_perl 2.0.2-2.4, both are from Debian > > packages. > > > > I am not using handlers, just scripts, and so I have nothing to > > shift. > > Also, the Apache2::requestutil stuff doesn't work

Re: 32 & 64 bit memory differences

2007-11-06 Thread Mark Maunder
I forgot to mention, lighttpd consumes about 12 megs of RAM with my config. It's very small because it uses non-blocking sockets to do everything with a single thread. On Nov 6, 2007 1:17 PM, Mark Maunder <[EMAIL PROTECTED]> wrote: > I can't overstate the efficiency gains from a reverse proxy con

Re: 32 & 64 bit memory differences

2007-11-06 Thread Mark Maunder
I can't overstate the efficiency gains from a reverse proxy config with mod_perl and a very light front-end reverse proxy. As I mentioned I'm using lighttpd as the front-end and apache 2.2 with mod_perl 2 as the back end. Here are two screenshots to illustrate what I'm talking about. The first is

Re: no request object for scripts, debian etch packaged apache2, mod_perl2

2007-11-06 Thread Perrin Harkins
On Nov 6, 2007 3:37 PM, Collin Monahan <[EMAIL PROTECTED]> wrote: > > I have googled around quite a bit but haven't found anything for this. > > Using Apache 2.2.3, mod_perl 2.0.2-2.4, both are from Debian packages. > > I am not using handlers, just scripts, and so I have nothing to shift. > Also,

Re: mod_auth_tkt [was: 32 & 64 bit memory differences]

2007-11-06 Thread Michael Peters
Carl Johnstone wrote: > Michael Peters wrote: >> mod_auth_tkt. You can set the authorization ticket with mod_perl and >> then just >> let mod_auth_tkt handle it on the non-mod_perl apache. It's extremely >> light >> weight and really fast. >> > Got this on my "to implement soon" list - any tips/

Re: mod_auth_tkt [was: 32 & 64 bit memory differences]

2007-11-06 Thread Carl Johnstone
Michael Peters wrote: mod_auth_tkt. You can set the authorization ticket with mod_perl and then just let mod_auth_tkt handle it on the non-mod_perl apache. It's extremely light weight and really fast. Got this on my "to implement soon" list - any tips/caveats? Carl

Re: 32 & 64 bit memory differences

2007-11-06 Thread Carl Johnstone
Gary Sewell wrote: I am interested in the reverse proxy idea. We currently also run a static image/js/css server and a static php server that runs the static pages we are able to crate which is very few, 99% of our pages are dynamic and change every second. Due to the bulk of our code (100Mb @ 32

no request object for scripts, debian etch packaged apache2, mod_perl2

2007-11-06 Thread Collin Monahan
I have googled around quite a bit but haven't found anything for this. Using Apache 2.2.3, mod_perl 2.0.2-2.4, both are from Debian packages. I am not using handlers, just scripts, and so I have nothing to shift. Also, the Apache2::requestutil stuff doesn't work. $r = shift; # $r will be undefi

Looking for a way to identify a retry-with-authorization request

2007-11-06 Thread Ryan Gies
Any chance there is a methodology with which I may identify when a browser is sending me a retry-with-authorization request? Intention: To issue a response which ultimately brings up the browser's log-in dialog. Yes, I'm trying to implement the already well-known inability to 'log-out' after brow

Re: 32 & 64 bit memory differences

2007-11-06 Thread Perrin Harkins
On Nov 6, 2007 1:41 PM, Gary Sewell <[EMAIL PROTECTED]> wrote: > The discrepancies I mentioned in the size of each of our apache instances is > something I don't think I personally be able to get to the bottom of, I have > attempted Apache::Status, this gives out our loaded modules etc but not > sp

Re: 32 & 64 bit memory differences

2007-11-06 Thread Jim Brandt
While some of the things you mention (caching, etc.) can be a purpose for the reverse proxy server, the key reason is to provide a buffer for all of the communication bits with clients that are not related to processing the actual request. The front servers take the initial connection from the

Re: 32 & 64 bit memory differences

2007-11-06 Thread Michael Peters
Octavian Rasnita wrote: > If you all recommend using mod_perl with a reverse proxy, then I am sure > you can help me by telling how to protect the static files offered for > download. > > I have many files that are generated permanently from 10 to 10 minutes, > with names like 2007-11-06-10-10-00

Re: Converting from GMT To CST

2007-11-06 Thread Drew Wilson
I forget the exact syntax, but I'd use DateTime. See datetime.perl.org for more exhausting details. Drew On Nov 6, 2007, at 10:09 AM, Tyler Bird wrote: HI List, Does anyone know the formula to convert from GMT to CST or any functions used by perl to get the time in CST? Tyler

Re: 32 & 64 bit memory differences

2007-11-06 Thread Octavian Rasnita
Hi, If you all recommend using mod_perl with a reverse proxy, then I am sure you can help me by telling how to protect the static files offered for download. I have many files that are generated permanently from 10 to 10 minutes, with names like 2007-11-06-10-10-00.tar.gz and I would like to

RE: 32 & 64 bit memory differences

2007-11-06 Thread Gary Sewell
Hi again, As I mentioned we run 4 mod perl servers, theya re all apache 1.3 , 2 are 64-bit 2 are 32-bit machines. The discrepancies I mentioned in the size of each of our apache instances is something I don't think I personally be able to get to the bottom of, I have attempted Apache::Status, thi

Converting from GMT To CST

2007-11-06 Thread Tyler Bird
HI List, Does anyone know the formula to convert from GMT to CST or any functions used by perl to get the time in CST? Tyler

Re: 32 & 64 bit memory differences

2007-11-06 Thread Frank Wiles
On Sun, 4 Nov 2007 21:28:34 -0800 "Mark Maunder" <[EMAIL PROTECTED]> wrote: > I run lighttpd as reverse proxy in front of mod_perl configured with > prefork. I average 100 to 200 concurrent connections on lighttpd and > need 4 mod_perl processes with keepalive disabled to service all > those reque