in reply to Cache::BerkeleyDB Problems

It may be that you are running out of cache. Try hacking the BDB env setup:
my $env = new BerkeleyDB::Env -Cachesize => 131072, # or larger ...

-Mark

Replies are listed 'Best First'.
Re^2: Cache::BerkeleyDB Problems
by glwtta (Hermit) on May 10, 2006 at 22:59 UTC
    Hmm, ironic. I'll take a look at this, though I'm not quite sure how to make Cache::BerkeleyDB do this.
Re^2: Cache::BerkeleyDB Problems
by glwtta (Hermit) on May 10, 2006 at 23:34 UTC
    That was it! I'm going to contact the module author about passing more configuration options to BDB Env.

    What do I have to keep an eye on that concerns the cache usage? Is it the number of keys? Largest entry? Total size?

    Thanks for the help.