OVDB errors

Julien ÉLIE julien at trigofacile.com
Tue Dec 19 21:38:25 UTC 2017


Hi Kamil,

>>> Well. I have this again  after a week or something like that. But since
>>> last upgrade (Debian version: Version: 2.6.1-4 - I do not know if they
>>> do some backports) at  2017-11-26 I had no issue.
> 
> Today ovdb crashed :(
> 2017-12-17T14:34:13.746037+01:00 alfa nnrpd[29972]: OVDB: BDB2023 pthread lock failed: Invalid argument
> 2017-12-17T14:34:13.746725+01:00 alfa nnrpd[29972]: OVDB: BDB0061 PANIC: Invalid argument
> 2017-12-17T14:34:13.746813+01:00 alfa nnrpd[29972]: OVDB: BDB0060 PANIC: fatal region error detected; run recovery
> 2017-12-17T14:34:13.746878+01:00 alfa nnrpd[29972]: OVDB: open: version->open: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery

The error happens in check_version() in storage/ovdb/ovdb.c:

     ret = vdb->open(vdb, NULL, "version", NULL, DB_BTREE, _db_flags, 0666);
     if (ret != 0) {
         vdb->close(vdb, 0);
         warn("OVDB: open: version->open: %s", db_strerror(ret));
         return ret;
     }

I think _db_flags is DB_CREATE.
I do not know what can cause the pthread lock failture at that time.


https://community.oracle.com/thread/2619648 mentions an issue in 
virtualized environments.  Other discussions mention a limit in file 
descriptors.
Sorry for not being of useful help :(

-- 
Julien ÉLIE

« Omnia uincit Amor et nos cedamus Amori. » (Virgile)


More information about the inn-workers mailing list