Problems with a large hash table

Mediratta, Bharat
Mon Nov 26 07:47:34 UTC 2001

Today I started getting the following message in my syslog,
using v1.0.34:

starting `/usr/local/dcc/libexec -R -i 1003 -h /usr/local/dcc
execlp(/usr/local/dcc/libexec -R -i 1003 -h /usr/local/dcc: Permission

This is weird.  For starters, "libexec" is a directory, not a
program.  Perhaps I'm reading the output wrong, though.  So,
I stop my dccd using cdcc.  Then when I try to restart dccd
I get the following message:

/usr/local/dcc/dcc_db.hash is filled with 303101 entries

And then dccd fails to start.  I check in my /usr/local/dcc 
directory and I see that there's a 30Mb dcc_db file, a 30Mb 
dcc_db-old file and no dcc_db.hash file.  Hmm.  I go and get 
1.0.36 and install it and try to start dccd with that version.
Same error.  So I run "dbclean -S" (which I never do normally) 
and it churns away for a while  generating:

1.0.36 expired 118152 records and 118171 checksums in /usr/local/dcc/dcc_db
hashed 132654 records containing 971410 checksums, compressed 0 records
1220608 hash entries total, 303089 or 24% used

Now I have the 30Mb dcc_db files but I also have a 13Mb dcc_db.hash
file.  And now I can start dccd.

So my questions are:
1. What did I do wrong?
2. What can I do to prevent it from happening again?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the DCC mailing list

Contact by mail or use the form.