Sourceware search engine

Also see htdig notes and htdig.org.

The search engine database becomes corrupted occasionally for reasons that mere mortals cannot understand. Unfortunately we don't have any indication that it is broken; we have to wait for someone to complain (the typical symptom is that all searches will return no hits). One approach is to write a cron job which searches for a string known to be present (gcc has this, I believe - contact person Hans-Peter).

Since we got a huge disk for htdig, it has never failed -- the Feb 2000 problems were because we moved where the mailing lists are actually stored on disk. We think the order of one part of the htdig config file was important, and we had the order incorrect given the new setup.

FWIW htdig was working perfectly for three months straight without a clean db rebuild.

On the old sourceware system where the disk space for htdig was really tight, it would fail all the time, most likely due to running out of space for its rebuilds. The nightly rebuild of the db requires three times the total space of the database. If the db has 600MB, you will need an additional 1.2GB free to update it. It's one of the lamest parts of htdig.