Apache::Session and DB_File problems

2004-03-06 Thread Chris Ochs
This must be my day... I am stress testing a new application that uses apache::session with the DB_File backend store. When hitting it with apache bench after a few hundred connections something with the db file gets wacked, and apache starts to segfault until I delete the .db file, at which po

Apache::Reload cause memory leaks?

2004-03-06 Thread Chris Ochs
I have a really strange problem and although I'm not 100% sure it's due to Apache::Reload, it seems the most likely candidate. This is apache 1.3.29 and mod perl 1.29 with perl 5.6.1 on freebsd 5.2.1. My code is a perl handler and with all the modules preloaded via startup.pl each apache process

Re: [mp2]/dev/random block -> (Re: "server failed to start!")

2004-03-06 Thread Stas Bekman
Edouard Lagache wrote: Thank you Stas! Your diagnosis is right on the money! I don't know why your /dev/random blocks. May be a broken kernel config? this should print 10 random chars from perl: % perl -le 'open I, "/dev/random"; read I, $d, 10; print $d' Indeed it locks up and prints nothin

[Fwd: Re[2]: GIF contents not "coming out"]

2004-03-06 Thread Stas Bekman
Your friendly forwarding service is hard at work ;) Original Message Subject: Re[2]: GIF contents not "coming out" Date: Wed, 3 Mar 2004 21:55:21 +1100 From: Chris Drake <[EMAIL PROTECTED]> To: Stas Bekman <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <

[mp2]/dev/random block -> (Re: "server failed to start!")

2004-03-06 Thread Edouard Lagache
Thank you Stas! Your diagnosis is right on the money! >I don't know why your /dev/random blocks. May be a broken kernel config? > >this should print 10 random chars from perl: > >% perl -le 'open I, "/dev/random"; read I, $d, 10; print $d' Indeed it locks up and prints nothing, failing as does i

Re: [RELEASE CANDIDATE] please test mod_perl-1.99_13-dev.tar.gz: make test failes on solaris 9

2004-03-06 Thread Stas Bekman
Jie Gao wrote: [...] I've got it work. What I did was to comment out the ipv6 entry in Solaris's Internet host table: % more /etc/inet/ipnodes # # Internet host table # #::1localhost 127.0.0.1 localhost /etc/nsswitch.conf has the following as default: ipnodes:files Neverthel

Re: [mp2] Solved! - almost :-) (Re: "server failed to start!")

2004-03-06 Thread Stas Bekman
Edouard Lagache wrote: Dear Stas and all, Stas Bekman <[EMAIL PROTECTED]> wrote at Sat, 6 Mar 2004 12:12:09 -0800 Edouard Lagache wrote: open("/dev/random", O_RDONLY) = 3 read(3, that explains it. Your don't have enough entropy and /dev/random blocks. It's interesting to know what h

[mp2] Solved! - almost :-) (Re: "server failed to start!")

2004-03-06 Thread Edouard Lagache
Dear Stas and all, Stas Bekman <[EMAIL PROTECTED]> wrote at Sat, 6 Mar 2004 12:12:09 -0800 >Edouard Lagache wrote: > >> open("/dev/random", O_RDONLY) = 3 >> read(3, > >that explains it. Your don't have enough entropy and /dev/random blocks. >It's interesting to know what happens if you

Re: [mp2] strace output (Re: "server failed to start!")

2004-03-06 Thread Stas Bekman
Edouard Lagache wrote: open("/dev/random", O_RDONLY) = 3 read(3, that explains it. Your don't have enough entropy and /dev/random blocks. It's interesting to know what happens if you just key random keys for a few secs after it hangs This should make the problem to go away: % PERL_HA

[mp2] strace output (Re: "server failed to start!")

2004-03-06 Thread Edouard Lagache
Dear Stas and mod_perl community, First, >A release candidate for mod_perl-1.99_13 is available: > >http://apache.org/~stas/mod_perl-1.99_13-dev.tar.gz > >Please test and report any failures to this list. I downloaded, built, and tested this version - but alias, it predictably behaves the same a

serializing access to a resource in my mod_perl PerlHandler

2004-03-06 Thread John Kelly
Hi, this is an oldbie question - i used to know something about mod_perl but haven't used it for so so long I've forgotten it all :) a mod_perl script i wrote quite some time ago has recently had increased "traffic". this has shown up a problem (i think) with serialization of resource in the "ba

Re: PATCH to Apache::AuthNetLDAP 0.26

2004-03-06 Thread Shannon Eric Peevey
Nick Urbanik wrote: How about the filter and scope support? Is the documentation okay? I haven't had a chance to look at it in depth, but I'll let you know when I do. thanks again :) -- Shannon Eric Peevey => "speeves" Dyno-Mite! System Administrator => [EMAIL