Re: help about Apache::Scoreboard

2007-12-14 Thread Malcolm
On Thursday 13 December 2007 10:00:30 am Jeff Pang wrote: > right now I got these exceptions in error_log: > > [Thu Dec 13 21:53:49 2007] [notice] child pid 4660 exit signal > Segmentation fault (11) Apache::Scoreboard is basically just a wrapper around the apache scoreboard api, so we're dealin

Re: [OT] How to get BerkeleyDB working?

2007-12-14 Thread Torsten Foertsch
On Fri 14 Dec 2007, Torsten Foertsch wrote: > So, I want to write a number of key-value pairs to a bdb database as a > transaction. Sorry for the SPAM. I forgot the -Txn flag to BerkeleyDB::Btree->new. Torsten

[OT] How to get BerkeleyDB working?

2007-12-14 Thread Torsten Foertsch
Hi, this is not really a mod_perl question but I know there is wisdom about it on the list. So, I want to write a number of key-value pairs to a bdb database as a transaction. Here is my code: my ($db, $env)=($I->bdb_db, $I->bdb_env); my $txn=$env->txn_begin; $txn->Txn($db); my $count

Re: help about Apache::Scoreboard

2007-12-14 Thread Jeff Pang
2007/12/14, Malcolm <[EMAIL PROTECTED]>: > On Thursday 13 December 2007 10:00:30 am Jeff Pang wrote: > > > right now I got these exceptions in error_log: > > > > [Thu Dec 13 21:53:49 2007] [notice] child pid 4660 exit signal > > Segmentation fault (11) > > Apache::Scoreboard is basically just a wra

No log() in Apache2::RequestRec?

2007-12-14 Thread Colin Wetherbee
Based on some documentation I read [0] [1], I am trying to use the following function to write messages to my virtual host's error log. 30 sub Debug(@) 31 { 32 my $r = Apache2::RequestUtil->request; 33 $r->log->debug(@_); 34 } I have tried several variations of this, restarting the server a

Re: No log() in Apache2::RequestRec?

2007-12-14 Thread Fred Moyer
Colin Wetherbee wrote: Based on some documentation I read [0] [1], I am trying to use the following function to write messages to my virtual host's error log. 30 sub Debug(@) 31 { 32 my $r = Apache2::RequestUtil->request; 33 $r->log->debug(@_); 34 } I have tried several variations of this,

Re: No log() in Apache2::RequestRec?

2007-12-14 Thread Colin Wetherbee
Fred Moyer wrote: Colin Wetherbee wrote: [Fri Dec 14 23:57:52 2007] [error] [client 192.168.171.80] Can't locate object method "log" via package "Apache2::RequestRec" at /home/cww/sites/js.iron.denterprises.org/htdocs/jet-set/JetSet/Debug.pm line 33.\n use Apache2::Log (); should take care

Re: Using dtrace to determine which modules aren't loaded at startup time

2007-12-14 Thread Fred Moyer
Colin Wetherbee wrote: Fred Moyer wrote: I've been having fun with dtrace, and I most recently used it to see what files are being accessed by mod_perl during requests. I've preloaded all the modules in my application that I know about into startup.pl, but when I startup my httpd server and m