Why is dccd reporting database broken?

Gary Mills mills@cc.umanitoba.ca
Fri Jan 20 03:49:55 UTC 2006

I just noticed dbclean running at an unusual time on one of my DCC
servers (dcc1).  The database seems quite large:

  -rw-r--r--   1 daemon   other          0 Jan 19 21:24 dcc_db-new.hash
  -rw-r--r--   1 daemon   other    2109800448 Jan 19 21:24 dcc_db-new
  -rw-r--r--   1 daemon   other          6 Jan 19 21:22 dcc_db.lock
  -rw-r--r--   1 daemon   other    2147483647 Jan 19 21:21 dcc_db
  -rw-r--r--   1 daemon   other    1180483584 Jan 19 18:38 dcc_db.hash
  -rw-r--r--   1 daemon   other    2147483647 Jan 19 18:28 dcc_db-old

On the other one (dcc2), the files are smaller:

  -rw-r--r--   1 daemon   other    1368858624 Jan 19 21:24 dcc_db
  -rw-r--r--   1 daemon   other    590241792 Jan 19 02:57 dcc_db.hash
  -rw-r--r--   1 daemon   other    1431650304 Jan 19 02:56 dcc_db-old

The two should have the same contents.  This error shows up quite
frequently on dcc1:

  [ID 702911 mail.error] /usr/local/dcc/dcc_db changed from 0x7f404000 to 0x7fffffff

Just before that is:

  [ID 515732 mail.error] write(/usr/local/dcc/dcc_db,4095)=4096: Resource temporarily unavailable

The filesystem is 50% full after the rebuild completed.  Has the database
hit a size limit?  Has the filesystem run out of fragments?  As I recall,
I created it with a fragment size of 4096, so this should never happen.

-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-

More information about the DCC mailing list

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