Re: htdig: htdig hangs if db is a nfs mounted filesystem

Richard Jones (
Mon, 24 Aug 1998 11:03:00 +0100

Budd, S. wrote:
> Hello
> Using SunOS 5.6 with HT:DIG 3.0.8b2
> Just an interesting thing to note.
> If the db directory has been nfs mounted
> "mount /mnt"
> mkdir /mnt/htdig/db
> and the configuration file to set use the above directory,
> then htdig
> hangs after having created the file
> "docdb" in the directory /mnt/htdig/db

I have indexed onto a NFS-mounted database before (from
Linux) and it works fine. To diagnose this further, you
need to tell us:

 . what OS is the server running?
 . what the output of strace(1) or truss(1) is on the htdig
   or htmerge executable that is failing (ie. what
   system call the program hangs on)?
 . does the process hang in the `D' state (see ps(1))?

> If I set the TMP and TMPDIR variables to point to
> the nfs mounted directory /mnt/tmp.
> and create the db files in a non-nfs mounted directory,
> the htmerge program works successfully, implying
> that the writing to the tmp file is in someway different
> to the writing to the db files.

Seems that TMPDIR only affects where sort stores
its temporary files during the htmerge phase. Should
have no affect on htdig.


Richard Jones Tel: +44 171 598 7557 Fax: 460 4461
Orchestream Ltd.  125 Old Brompton Rd. London SW7 3RP PGP:
"boredom ... one of the most overrated emotions ... the sky is made
of bubbles ..."   Original message content Copyright  1998
To unsubscribe from the htdig mailing list, send a message to containing the single word "unsubscribe" in
the body of the message.

This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:27:17 PST