ovdb minkey
Heath Kehoe
hakehoe at norand.com
Mon Jan 24 05:41:04 UTC 2000
>I get the following in my logs when running ovdb, I guess this is just a
>warning and nothing fatal?
>
>Jan 22 14:02:26 Lucid nnrpd[3105]: OVDB: minimum bt_minkey value is 2
>Jan 22 14:02:26 Lucid nnrpd[3105]: OVDB: page sizes may not be smaller
>than 512
Are you using BerkeleyDB 3.x? There is a bug in ovdb.c, when used with
BerkeleyDB 3, that can cause these messages. They are harmless. At the
end of this message is a patch to ovdb.c that will fix this problem.
This fix should appear in an upcoming snapshot.
>
>Also how difficult would it be to adopt a method of allowing the ovdb data
>and cycbuff data to make the best use of disk space? In other words,
>eliminating the possibilty of having the ovdb data max out its space while
>having the cycbuffs not used fully.. or vice versa.
>
By 'cycbuff' I assume you mean CNFS. A cycbuff is a fixed size, and all
of it is used to store articles. There is no way to use space in a
cycbuff to store anything else.
With ovdb, the only way to make sure it doesn't fill the disk is to use
innwatch to monitor your pathoverview, so that it will throttle the server
to prevent additional overview records to be written.
-h
*** ovdb.c.old Fri Jan 14 05:00:58 2000
--- ovdb.c Sun Jan 23 23:25:25 2000
***************
*** 358,365 ****
if(ret = db_create(&(dbs[which]), OVDBenv, 0))
return ret;
! (dbs[which])->set_bt_minkey(dbs[which], ovdb_conf.minkey);
! (dbs[which])->set_pagesize(dbs[which], ovdb_conf.pagesize);
if(ret = (dbs[which])->open(dbs[which], _dbnames[which], NULL, DB_BTREE,
_db_flags, 0666)) {
--- 358,367 ----
if(ret = db_create(&(dbs[which]), OVDBenv, 0))
return ret;
! if(ovdb_conf.minkey > 0)
! (dbs[which])->set_bt_minkey(dbs[which], ovdb_conf.minkey);
! if(ovdb_conf.pagesize > 0)
! (dbs[which])->set_pagesize(dbs[which], ovdb_conf.pagesize);
if(ret = (dbs[which])->open(dbs[which], _dbnames[which], NULL, DB_BTREE,
_db_flags, 0666)) {
More information about the inn-workers
mailing list