According to Evan Tishuk:
> I originally asked what the below message meant:
> >> DB2 problem...: /home/httpd/htdig/db/db.docdb: put: more blocks returned
> >> than retrieved
> >> Aborted (core dumped)
>
> Reply was:
> >That's a new complaint, but "DB2 problems" are generally a sign of
> >database corruption.
>
> Do you think it could indicate that during the htmerge process disk
> space ran out?
> Has that ever happened to anyone? my entire DB is about 1 gig in size,
> and other
> files on the server comprise about another gig, but the hard drive has a
> 10 gig
> capacity!!?? What are some common causes of "database corruption"? Any
> advice. How would you all troubleshoot this problem if it happened to
> you?
It's hard to say for sure what causes database curruption, but certainly
running out of disk space could do it! While htdig and htmerge are
working, they may use up more space than the final database size.
The wordlist that htdig generates can be much larger than what htmerge
eventually produces. In the process, there are a couple copies of this
file hanging around, plus the sort temporaries.
Another cause could be multiple processes trying to update a database
simultaneously, e.g. by running htmerge before htdig completes its job,
or starting htdig via cron while there's still an earlier htdig or
htmerge process that hadn't finished.
Finally, some corruption problems can be due to obscure bugs that we just
haven't nailed down yet. If you can point out something that repeatedly
causes database corruption, we'd like to know. Otherwise, the only
advice we can give is to try rebuilding your database from scratch.
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
Information: http://lists.sourceforge.net/lists/listinfo/htdig-general
FAQ: http://htdig.sourceforge.net/FAQ.html