Large Caches - How Stateful?

2005-08-26 Thread Bill Whillers
Can I improve inefficiencies with using Storable freeze/thaw on 2-6MB hashes assuming that all data in the hashes are necessary (for each session) and changing every-so-often? --> Is it possible to create an apache variable at server start-up that can be referenced read/write by all forked chil

Re: Custom deflation gzip filter [mp2]

2005-08-26 Thread Alexander Charbonnet
It apparently works after I played with the code for the final flush. I'm not sure why, though. There was only one change (below). Anybody see a significant difference? In any case, I'll take it, since it works now. :-) --Original (broken) code $f->print(join '',

Re: survey

2005-08-26 Thread Boysenberry Payne
I'm using apache 1.3.33 and mod_perl 1.29. I would have went apache 2 and mp 2 but I saw the mod_perl in beta warning and wasn't sure if it was a good idea to use it in a production environment. Even if I had wanted to our host uses apache 1.3.33 and mod_perl 1.29 as the default set up. On my O

Re: survey

2005-08-26 Thread Octavian Rasnita
we are talking about advocacy, so why not promoting mod_perl in any way if it is possible and doesn't hurt anyone? I also think that it would be a good idea to set an HTTP header by default which announces mod_perl. The winners are those who created bad but simple programs, simple programming lang

Re: survey

2005-08-26 Thread Octavian Rasnita
Some advocacy ideas: I think that there are a few groups we should target: - The programmers/net admins that are already using mod_perl, but older versions (Macromedia is using Apache 1.3 and mod_perl 1) - the programmers that already know perl but they are using only CGI scripts - The programmers

Re: survey

2005-08-26 Thread Octavian Rasnita
From: "Perrin Harkins" <[EMAIL PROTECTED]> > On Fri, 2005-08-26 at 12:47 -0400, Adam Prime x443 wrote: > > PHP uses: X-Powered-By: PHP/4.3.11 > > > > To effectively bypass the front end server problem. > > We decided not to do that, since it's intrusive. > PHP users can decide if that HTTP hea

Re: survey

2005-08-26 Thread Frank Wiles
On 26 Aug 2005 11:43:17 -0700 merlyn@stonehenge.com (Randal L. Schwartz) wrote: > Perhaps if mod_perl announced itself by default, but a simple > directive turned it off? Then at least the statistics for it would be > in the same meaningless camp as mod_php. :) I think that's a reasonable idea

Re: Custom deflation gzip filter [mp2]

2005-08-26 Thread Alexander Charbonnet
Okay, I've tried the new filter on a Gentoo system: Apache 2.0.54-r13, mod_perl 2.0.1-r2. It helped me to port the filter to the correct API (which only required a couple of changes, thankfully), but it didn't fix the weird IE problem. I know I'm not alone in wanting this feature (being able t

Re: survey

2005-08-26 Thread Randal L. Schwartz
> "Adam" == Adam Prime x443 <[EMAIL PROTECTED]> writes: Adam> Either way though, I think these numbers are useless for the Adam> most part. I would guess that the vast majority of the sites Adam> that have mod_perl or mod_php in their headers are mass hosting Adam> providers that are running

RE: survey

2005-08-26 Thread Adam Prime x443
http://www.php.net/usage.php I can't find anything recent for java. Either way though, I think these numbers are useless for the most part. I would guess that the vast majority of the sites that have mod_perl or mod_php in their headers are mass hosting providers that are running default in

Re: survey

2005-08-26 Thread Tony Clayton
Quoting Tony Clayton <[EMAIL PROTECTED]>: > Quoting Frank Wiles <[EMAIL PROTECTED]>: > > > On Fri, 26 Aug 2005 09:46:36 -0500 > > Tony Clayton <[EMAIL PROTECTED]> wrote: > > > > > Quoting Frank Wiles <[EMAIL PROTECTED]>: > > > > > > > On Fri, 26 Aug 2005 10:32:33 -0400 > > > > "Christopher H. L

RE: survey

2005-08-26 Thread Perrin Harkins
On Fri, 2005-08-26 at 12:47 -0400, Adam Prime x443 wrote: > PHP uses: X-Powered-By: PHP/4.3.11 > > To effectively bypass the front end server problem. We decided not to do that, since it's intrusive. What I was asking about is whether anyone checked to see if the numbers for other things seem t

RE: survey

2005-08-26 Thread Adam Prime x443
PHP uses: X-Powered-By: PHP/4.3.11 To effectively bypass the front end server problem. Adam -Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 12:25 PM To: Frank Wiles Cc: modperl@perl.apache.org Subject: Re: survey On Fri, 2005-08-26 at 0

Re: survey

2005-08-26 Thread Frank Wiles
On Fri, 26 Aug 2005 12:33:36 -0400 Perrin Harkins <[EMAIL PROTECTED]> wrote: > I have not had time to work on it. What it still needs is > incorporation of a Win32 success story that I have in bits and pieces > in several e- mails. It's not a simple job to turn it into something > coherent. If

Re: survey

2005-08-26 Thread Perrin Harkins
On Fri, 2005-08-26 at 09:41 -0500, Frank Wiles wrote: > Perrin, if you need some help or need someone to take it over, > I've got some time this weekend I could work on it. Let me know. The document has been in the mod_perl docs subversion repository for a while now, here: http://svn.apache.o

*nix distro compatibility (was Re: survey)

2005-08-26 Thread Tony Clayton
Quoting Fred Moyer <[EMAIL PROTECTED]>: > Frank Wiles wrote: > > > We tried last year to get a mod_perl advocacy movement going, > but > > not to many people were interested in helping with it. > > There is a mailing list just for the advocacy movement here: > > http://perl.apache.org/mai

Re: survey

2005-08-26 Thread Perrin Harkins
On Fri, 2005-08-26 at 09:25 -0500, Frank Wiles wrote: > 2) More and more sites moving to having light front-end Apache's > that don't have mod_perl, but reverse proxy to backends that > do. There you go. None of the sites that I know run mod_perl, including my own, have it in their f

Re: survey

2005-08-26 Thread Perrin Harkins
On Fri, 2005-08-26 at 10:54 -0500, Tony Clayton wrote: > I've raised a bug on the Centos site for upgrading to mod_perl 2.0.1: > http://bugs.centos.org/view.php?id=1001 Doesn't Centos just track RHEL? I didn't think they offered any additional packages. I believe it's Red Hat who would need to

Re: survey

2005-08-26 Thread Perrin Harkins
On Fri, 2005-08-26 at 10:32 -0400, Christopher H. Laco wrote: > Part of it may also be that I still see people and posts surprised that > "mod_perl 2 is finished?". Where do you see these? It was announced on Slashdot, which is about as good as it gets for reaching actual programmers.

Re: survey

2005-08-26 Thread Fred Moyer
Frank Wiles wrote: > We tried last year to get a mod_perl advocacy movement going, but > not to many people were interested in helping with it. There is a mailing list just for the advocacy movement here: http://perl.apache.org/maillist/advocacy.html The last post was in May, right before

Re: survey

2005-08-26 Thread Tony Clayton
Quoting Frank Wiles <[EMAIL PROTECTED]>: > On Fri, 26 Aug 2005 09:46:36 -0500 > Tony Clayton <[EMAIL PROTECTED]> wrote: > > > Quoting Frank Wiles <[EMAIL PROTECTED]>: > > > > > On Fri, 26 Aug 2005 10:32:33 -0400 > > > "Christopher H. Laco" <[EMAIL PROTECTED]> wrote: > > > > > > > Part of it may

Re: survey

2005-08-26 Thread Christopher H. Laco
Christopher H. Laco wrote: Part of it may also be that I still see people and posts surprised that "mod_perl 2 is finished?". -=Chris Oh yeah. Last night I installed MP2 on a fresh FreeBSD5 install using ports that used: http://www.apache.org/dist/perl/mod_perl-2.0.1.tar.gz This is sti

Re: survey

2005-08-26 Thread Frank Wiles
On Fri, 26 Aug 2005 13:49:52 +0300 "Octavian Rasnita" <[EMAIL PROTECTED]> wrote: > What do you think, why the number of hosts which use mod_perl is > decreasing continuously as the following survey shows? > > http://perl.apache.org/outstanding/stats/netcraft.html We had a discussion about this

Re: survey

2005-08-26 Thread Frank Wiles
On Fri, 26 Aug 2005 09:46:36 -0500 Tony Clayton <[EMAIL PROTECTED]> wrote: > Quoting Frank Wiles <[EMAIL PROTECTED]>: > > > On Fri, 26 Aug 2005 10:32:33 -0400 > > "Christopher H. Laco" <[EMAIL PROTECTED]> wrote: > > > > > Part of it may also be that I still see people and posts surprised > > > t

Re: survey

2005-08-26 Thread Tony Clayton
Quoting Frank Wiles <[EMAIL PROTECTED]>: > On Fri, 26 Aug 2005 10:32:33 -0400 > "Christopher H. Laco" <[EMAIL PROTECTED]> wrote: > > > Part of it may also be that I still see people and posts surprised > > that "mod_perl 2 is finished?". > > That could be as well. We should really get our 2.

Re: survey

2005-08-26 Thread Frank Wiles
On Fri, 26 Aug 2005 10:32:33 -0400 "Christopher H. Laco" <[EMAIL PROTECTED]> wrote: > Part of it may also be that I still see people and posts surprised > that "mod_perl 2 is finished?". That could be as well. We should really get our 2.0 press release out. Perrin, if you need some hel

Re: survey

2005-08-26 Thread Christopher H. Laco
Frank Wiles wrote: On Fri, 26 Aug 2005 13:49:52 +0300 "Octavian Rasnita" <[EMAIL PROTECTED]> wrote: What do you think, why the number of hosts which use mod_perl is decreasing continuously as the following survey shows? http://perl.apache.org/outstanding/stats/netcraft.html We had a disc

failed to map segment from shared object

2005-08-26 Thread Patrick Danial
I'm receiving the following error when I startup apache: [error] Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Apache2/RequestRec/RequestRec.so' for module Apache2::RequestRec: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Apache2/RequestRec/RequestRec.so:

Re: memory resident config hash

2005-08-26 Thread Michael Peters
Octavian Rasnita wrote: > Hi, > > I have a config file which contains a hash ref and I get its values by using > the do() function. > > I don't think this is the best solution, because the speed might be slow. > That file is accessed on each access to each page. > > Is it possible to store tha

AW: memory resident config hash

2005-08-26 Thread Denis Banovic
Use memcached, it just rocks and is just what you need... http://www.danga.com/memcached/download.bml Maybe you'll need this module... needed module: http://www.monkey.org/~provos/libevent/ If you get error when trying to start it, just symlink the libraries to the place he expects it... Denis

Re: survey

2005-08-26 Thread Michael Peters
Octavian Rasnita wrote: > What do you think, why the number of hosts which use mod_perl is decreasing > continuously as the following survey shows? > > http://perl.apache.org/outstanding/stats/netcraft.html Just a guess, but I think it might be related to the fact that some servers moved to Apach

memory resident config hash

2005-08-26 Thread Octavian Rasnita
Hi, I have a config file which contains a hash ref and I get its values by using the do() function. I don't think this is the best solution, because the speed might be slow. That file is accessed on each access to each page. Is it possible to store that hash in the memory somehow? I can store t

survey

2005-08-26 Thread Octavian Rasnita
What do you think, why the number of hosts which use mod_perl is decreasing continuously as the following survey shows? http://perl.apache.org/outstanding/stats/netcraft.html Teddy

MP 2.0.1 slurp_filename broken?

2005-08-26 Thread Bjorn Jacobsen
Hello, After upgrading to mod_perl 2.0.1 (from 1.99) I've got some problem with custom script handlers (inherited from ModPerl::Registry) no longer reports file access errors. It seems to boil down to the $r->slurp_filename() method, which does not throw if the file can't be opened/read for s

Re: Custom deflation gzip filter [mp2]

2005-08-26 Thread Alexander Charbonnet
Wow, I hadn't realized there was such a big change that didn't make it to Sarge. What a mess. Fortunately, there appears to be a backport; that'll make things easy. Thanks for letting me know; that would have been a nasty surprise. Unforunately, it doesn't seem like that would cause my IE pr

Re: Custom deflation gzip filter [mp2]

2005-08-26 Thread Philip M. Gollucci
Alexander Charbonnet wrote: I'm running the Debian Sarge versions of everything: Apache 2.0.54-4, mod_perl 1.999.21-1. I'd update to something after RC5 so that you don't use an unsupported API of mod_perl2. see: http://perl.apache.org/docs/2.0/rename.html -- END

Custom deflation gzip filter [mp2]

2005-08-26 Thread Alexander Charbonnet
Hi, I'm in a situation where I need the ability to flush the output of my CGI script to the client, so that it can display a partial page, and I also need to use gzip compression (only if the client supports it, of course). This could be done in Apache 1 by using Dynagzip. I couldn't make the