OVDB errors

Julien ÉLIE julien at trigofacile.com
Sat Feb 3 15:57:57 UTC 2018


Hi Kamil,

>>> 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
>>> 2017-12-17T14:34:13.746943+01:00 alfa nnrpd[29972]: can't open overview Success
>>
>> Still seeing the problem?
> 
> Well. I turned on ovdb_server, and since then there were no crash. [1]

Good news then!


> [1] this suggests, that bug is related to opening overview database
> access, but it is only my guess.

Hmm, according to ovdb documentation:
   https://www.eyrie.org/~eagle/software/inn/docs/ovdb.html

readserver
When the readserver parameter is true, the nnrpds will access overview 
via a helper server (ovdb_server -- which is started by ovdb_init). 
This can also result in cleaner shutdowns for the database, improving 
stability and avoiding deadlocks and corrupted databases.  If you are 
experiencing any instability in ovdb, try setting this parameter to 
true.  Default is false.


A nice way to say that bugs exist :)

I would suggest to set the default value of this parameter to true in 
the samples and documentation of the upcoming INN 2.6.2 release, and 
mention the above issues as a cave-at if this parameter is changed to false.
I believe it will prevent people from having a bad experience like you 
had with ovdb.

Any objection to that change?  (Incidentally, do you think other default 
parameters should be adjusted?)

-- 
Julien ÉLIE

« Et s'il n'en reste qu'un, je serai celui-là ! » (Victor Hugo)


More information about the inn-workers mailing list