Sheesh yes I forgot to say that I set the environment and open the db handle in startup.pl. If I set the environment in startup.pl but open the db handle in my perl handler every time the page is accessed the performance drops by about 300%, but it does make the errors go away.
Chris ----- Original Message ----- From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Chris Ochs" <[EMAIL PROTECTED]> Cc: "Modperl List" <[EMAIL PROTECTED]> Sent: Thursday, April 22, 2004 1:12 PM Subject: Re: BerkeleyDB with mod perl > On Thu, 2004-04-22 at 15:55, Chris Ochs wrote: > > I'm using the latest BerkeleyDB perl module on freebsd 5.2 with mod perl > > 1.xx. Following is the BerkeleyDB code I am using. When I start running > > lots of concurrent processes that run db_put I get the error 'Locker does > > not exist' in $BerkeleyDB::Error and db_put returns 'Invalid argument'. > > Any chance you might be opening the db handle before forking, i.e. in > your startup.pl? I suspect that would cause problems. > > - Perrin > > -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html