perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Ochs" <>
Subject Re: BerkeleyDB with mod perl
Date Thu, 22 Apr 2004 20:34:48 GMT
Sheesh yes I forgot to say that I set the environment and open the db handle
in  If I set the environment in 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.


----- Original Message ----- 
From: "Perrin Harkins" <>
To: "Chris Ochs" <>
Cc: "Modperl List" <>
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
> > lots of concurrent processes that run db_put I get the error 'Locker
> > 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  I suspect that would cause problems.
> - Perrin

Report problems:
Mail list info:
List etiquette:

View raw message