Message from OVDB subsystem

Julien ÉLIE julien at trigofacile.com
Sat Jan 23 11:04:02 UTC 2010


Hi Kamil,

> 2010-01-21T17:00:15+01:00 alfa 127.0.0.1 ovdb_monitor[18962]: OVDB: 
> /var/spool/news/overview/ov00010: file size not a multiple of the pagesize
> 2010-01-21T17:00:15+01:00 alfa 127.0.0.1 ovdb_monitor[18962]: OVDB: ov00010: 
> unable to flush page: 0
> 2010-01-21T17:00:20+01:00 alfa 127.0.0.1 ovdb_monitor[18962]: OVDB: 
> txn_checkpoint: failed to flush the buffer cache: Invalid argument

It seems that the first error is generated by that in libdb:

 * Return the current last page number of the file.
 * PUBLIC: int __db_lastpgno __P((DB *, char *, DB_FH *, db_pgno_t *));

 /* Page sizes have to be a power-of-two. */
 if (bytes % dbp->pgsize != 0) {
  __db_err(dbenv,
      "%s: file size not a multiple of the pagesize", real_name);
  return (EINVAL);
 }

and the last error by that in INN:

    while(!signalled) {
        OVDBenv->txn_checkpoint(OVDBenv, 2048, 1, 0);
        sleep(30);
    }

    http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/C/txncheckpoint.html

     The DB_ENV->txn_checkpoint() method may fail and return one of the following 
non-zero errors:
       EINVAL
         An invalid flag value or parameter was specified.


I do not know why the file sometimes gets corrupted :-/

-- 
Julien ÉLIE

« La moitié des hommes politiques sont des bons à rien.
  Les autres sont prêts à tout. » (Coluche) 




More information about the inn-workers mailing list