turned on greylisting, dbclean runs every 15secs.

Mark Atkinson darkmark@filament.org
Fri Feb 13 21:39:24 UTC 2004


On Fri, 13 Feb 2004, Vernon Schryver wrote:
> mentioned documentation bug of the lack of mention in the 30 months
> since the first DCC servers went into production.

Yes, I only found that one instance of the 20 second clean in the archives
as well.  I wasn't surprised since I've been running under the same
build/update/install tree for a very long time (kudos to you). You never
know what old file will get you and this is the first time I recall
running dccd.

> I suspect that:
>   - the problem is probably related to permission problems.  Perhaps
>    the DCC home directory, often /var/dcc, is not writable by the
>    `dccd -G` process.  If so, there are log messages somewhere saying
>    why dbclean is unable to do its job

So did I, however, all the dbclean operations succeeded.  perms are
usually the first thing I look at.  here's what happened from initial
startup on according to the logs, maybe it will provide further insight.
Note that I followed the dcc websites' greylisting section from the
installation instruction page.

[wrap warning]

Feb 13 08:07:35 hellfire dccm[84087]: 1.2.29 listening to /var/dcc/dccm with /var/dcc
Feb 13 08:12:42 hellfire dccd grey[84158]: lock open(/var/dcc/grey_db): No such file or directory
Feb 13 08:12:42 hellfire dccd grey[84160]: database broken; starting `dbclean -DPqS -G -i 32767`
Feb 13 08:12:42 hellfire dbclean grey[84160]: 1.2.29 cleaning grey_db
Feb 13 08:12:42 hellfire dccm[84168]: 1.2.29 listening to /var/dcc/dccm with /var/dcc
Feb 13 08:12:44 hellfire dbclean grey[84160]: 1.2.29 creating database /var/dcc/grey_db
Feb 13 08:12:44 hellfire dbclean grey[84160]: hashed 222 records containing 222 checksums, compressed 0 records
Feb 13 08:12:44 hellfire dbclean grey[84160]: 1024 hash entries total, 222 or 21% used
Feb 13 08:12:44 hellfire dccd grey[84158]: 1.2.29 listening to port 6276 with /var/dcc and 1 MByte window
Feb 13 08:12:57 hellfire dccd grey[84175]: 799 free hash entries; starting `dbclean -DPq -G -i 32767`
Feb 13 08:12:57 hellfire dbclean grey[84175]: 1.2.29 cleaning grey_db
Feb 13 08:12:58 hellfire dccd grey[84158]: database cleaning begun
Feb 13 08:12:58 hellfire dbclean grey[84175]: expired 0 records and 0 checksums in /var/dcc/grey_db
Feb 13 08:12:58 hellfire dbclean grey[84175]:   hash rebuilt 1 of 223 checksums or 0%
Feb 13 08:12:58 hellfire dbclean grey[84175]: hashed 223 records containing 1 checksums, compressed 0 records
Feb 13 08:12:58 hellfire dbclean grey[84175]: 1024 hash entries total, 223 or 21% used
Feb 13 08:12:58 hellfire dccd grey[84158]: 1.2.29 database /var/dcc/grey_db reopened with 1 MByte window
Feb 13 08:13:13 hellfire dccd grey[84190]: 798 free hash entries; starting `dbclean -DPq -G -i 32767`
....

>   - or version 1.2.20 or preceding is being used instead of 1.2.29.

My built execs and installed files all seem to be 1.2.29.  I think I'm
only 1 or 2 versions behind.

All the best,

Mark Atkinson
darkmark@filament.org
(!wired)?(coffee++):(wired);



More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.