Re: DBI Connectons accumulate under Mod_perl

2009-11-16 Thread Artem Kuchin
Perrin Harkins: On Fri, Nov 13, 2009 at 4:47 AM, Artem Kuchin wrote: Nope, i don't use those. Just plain DBI. Parent process does not open up any connections. This is getting really confusing because two of you are on this thread with completely different problems. Artem, if you ar

Re: DBI Connectons accumulate under Mod_perl

2009-11-16 Thread David E. Wheeler
On Nov 16, 2009, at 1:10 AM, Artem Kuchin wrote: > I am the original poster. Someone else has stolen my thread. > Anyway. > I AM calling disconnect and the thing is wrapped in > sub handler { > my $db=... > > ... > > $db->disconnect(); > } > > So, everything goes out of scope when handle

Re: _apr_bucket_shared_copy symbol not found

2009-11-16 Thread Philippe M. Chiasson
On 09-11-14 14:43 , Fred Moyer wrote: Platform: Snow Leopard Versions used: perl 5.10.1, mod_perl 2.0.5-dev, httpd 2.2.14 Error found during make test: t/apr-ext/uuid.t Can't load '/Users/phred/dev/svn/modperl/mod_perl-2.0/blib/arch/auto/APR/APR.bundle' for module AP

Getting domain info on each hit.

2009-11-16 Thread Devrim Yasar
Hi,We want to retrieve URL and use it inside our vhosts, realtime.To demonstrate my case, I placed random numbers on ServerAdmin directive (just to test),$ServerAdmin = int(rand(100))."lo...@koko.com";As you may know, this random number is assigned only when you restart the server, and never change

Re: _apr_bucket_shared_copy symbol not found

2009-11-16 Thread Fred Moyer
On Mon, Nov 16, 2009 at 10:23 AM, Philippe M. Chiasson wrote: > On 09-11-14 14:43 , Fred Moyer wrote: >> >> Platform:  Snow Leopard >> >> Versions used:  perl 5.10.1, mod_perl 2.0.5-dev, httpd 2.2.14 >> >> Error found during make test: >> >> t/apr-ext/uuid.t Can't load >>

Re: Getting domain info on each hit.

2009-11-16 Thread Philippe M. Chiasson
On 09-11-16 13:54 , Devrim Yasar wrote: > Hi, > > We want to retrieve URL and use it inside our vhosts, realtime. > > To demonstrate my case, I placed random numbers on ServerAdmin directive > (just to test), > > > $ServerAdmin = int(rand(100))."lo...@koko.com"; > > > > > > As you may know

Re: _apr_bucket_shared_copy symbol not found

2009-11-16 Thread Fred Moyer
On Mon, Nov 16, 2009 at 10:58 AM, Fred Moyer wrote: > On Mon, Nov 16, 2009 at 10:23 AM, Philippe M. Chiasson > wrote: >> On 09-11-14 14:43 , Fred Moyer wrote: >>> >>> Platform:  Snow Leopard >>> >>> Versions used:  perl 5.10.1, mod_perl 2.0.5-dev, httpd 2.2.14 >>> >>> Error found during make test

code in sections executed twice in same process?

2009-11-16 Thread E R
Hi - I am using mod-perl 1.3.41 with perl 5.8.9. The only perl I have in my config file is: warn "This is a section in process $$ at time @{[time]}\n"; sleep(5); warn "Done sleeping\n"; When I start it up in single process mode (-X), I'll something like this on stderr (to the console):

Re: code in sections executed twice in same process?

2009-11-16 Thread André Warnier
E R wrote: ... Is this "normal", and what can I do so that the code in sections is only executed once in the parent process? I believe it is "normal", in the sense that Apache actually parses its configuration at least twice : one time "just for checking", then it throws everything away and