Re: [htdig] Htmerge and out of space


Subject: Re: [htdig] Htmerge and out of space
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Tue Nov 30 1999 - 10:02:39 PST


According to Wayne Spivak:
> We've just updated to htdig 3.13 from 3.1.1. We're on a FreeBSD 3-2Release
> platform.
>
> We updated since we began having this problem:
>
> csc# htmerge -c /usr/local/etc/htdig.conf
>
> /: write failed, file system is full
> /usr/bin/sort: error closing file: No space left on device
> htmerge: Word sort failed
>
> I've added both in the .login & .profile files, as well as manually the
> following statements:
>
> set TMPDIR=/usr/tmp
>
> and can see TMPDIR if I do a set.
> Our db files are:
>
> -rw-r--r-- 1 root wheel 7008256 Nov 30 08:25 db.docdb
> -rw-r--r-- 1 root wheel 9631890 Nov 30 08:25 db.wordlist
> -rw-r--r-- 1 root wheel 0 Nov 30 08:52 db.wordlist.new
> -rw-r--r-- 1 root wheel 2048 Nov 30 08:52 db.words.db
>
> We have over 700mb free.
>
> Any ideas?

See http://www.htdig.org/FAQ.html#q5.9 about this. The BSD sort doesn't
like the -T option that htmerge uses to pass the TMPDIR setting to sort.
If your sort can handle TMPDIR itself, but doesn't use -T for this
purpose, then you'll need to change the code in htmerge/words.cc not to
pass the -T option to sort. If there's no way to specify where your sort
program puts its temporary files, you may want to try installing GNU sort
somewhere, and changing the SORT_PROG definitions in htmerge/Makefile
to use it.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
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

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b25 : Tue Nov 30 1999 - 10:14:59 PST