Re: How big are your httpd's?

2002-12-14 Thread harm
On Sat, Dec 14, 2002 at 04:50:25AM +0100, Axel Andersson wrote: Hi everyone, I would like to ask you how big your mod_perl enabled (v1) httpd's grow. I'm using a homegrown publication system based on Template Toolkit that delivers about 2000 Perl pages daily. After the first page load, the

Re: Same $dbh under different pids?

2002-10-30 Thread harm
On Tue, Oct 29, 2002 at 09:06:45PM +, Richard Clarke wrote: Moi, a quick question: is it possible to have the 'same' dbh across the apache children even if you do your best not to? This minimalistic handler: use strict; package Foo; use Apache::DBI; use DBI; use Apache::Constants

Re: Same $dbh under different pids?

2002-10-30 Thread harm
On Wed, Oct 30, 2002 at 06:05:51PM +0800, Philippe M. Chiasson wrote: For the same reason that running this: $ perl -e'fork; { $foo = {}; print $$:$foo\n}' 1984:HASH(0x804c00c) 1987:HASH(0x804c00c) produces this for me, every single time I run this program You are assuming that if

Same $dbh under different pids?

2002-10-29 Thread harm
Moi, a quick question: is it possible to have the 'same' dbh across the apache children even if you do your best not to? This minimalistic handler: use strict; package Foo; use Apache::DBI; use DBI; use Apache::Constants qw':common'; my $dbh; $Apache::DBI::DEBUG = 1; sub handler { my $r =

mod_perl and keepalive. Jep, yet again.

2001-05-24 Thread harm
Morning, this has come up a few times before, but I haven`t found the exact answer yet. I want to test if enabling keep-alive makes some pages load faster. I know the disadvanteges (could use massive amounts memory), but hey, it might just work. I`m using the wellknown

Re: libapreq behaving differently on RedHat vs Debian...

2001-05-21 Thread harm
On Mon, May 21, 2001 at 01:35:11AM -0700, Thomas K. Burkholder wrote: Hi, I'm using libapreq to do http file uploads, works just fine on my Debian/unstable desktop system, running Apache 1.3.14, mod_perl 1.25. ... The HTML looks something like this: HEAD /HEAD BODY

Re: 100% sessions?

2000-05-09 Thread harm
a script monitoring the logfiles) via the referer header. Harm -- Today is Setting Orange, the 57th of Discord, 3166. The Moon is Waxing Crescent (41% of Full) nieuw.nl - 2dehands.nl

Re: 100% sessions?

2000-05-09 Thread harm
it. I used a handler like: sub handler { my $r = shift; $r-header_out(Location= "http://nieuw.nl/harm/p.jpg"); return REDIRECT; } and a html file with a link to it. Netscape(linux) and links behave as they should. IE4 though: 212.204.140.183 - - [10/May/2000:01:33:23 +020