A few Google searches havent really seemed to provide any useful answers or solutions."cannot open Berkeley DB file 'Default.db' in environment '/dev/shm/ca +che/bdb': Lock table is out of available locker entries at '/home/use +r/perl5/lib/perl5/CHI/Driver/BerkeleyDB.pm line 49."
I've also tried the following based on some best guesses how to fix this:our $chi = CHI->new( driver => 'BerkeleyDB', root_dir => '/dev/shm/cache/bdb', serializer => 'Storable', l1_cache => { driver => 'RawMemory', global => 1, max_size => 2 ** 15, } );
But still encounter this issue. I'm guessing this is happening because there are some locks that are being created but not freed up from these long running processes, but I do not know enough about Berekeley DB or the BerkeleyDB Perl extension to know how to solve this. Are there any BDB wizards out there that have encountered this before? Any help is appreciated.sub _build_chi { my $root_dir = '/dev/shm/cache/bdb'; CHI->new( driver => 'BerkeleyDB', root_dir => $root_dir, serializer => 'Storable', env => BerkeleyDB::Env->new( '-Home' => $root_dir, '-Config' => {}, '-Flags' => DB_CREATE | DB_INIT_CDB | DB_INIT_MPOOL '-LockDetect' => DB_LOCK_OLDEST, ) ); }
In reply to CHI / BerkeleyDB Locker Entries by mobiusinversion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |