Re: [htdig] How to manage infinite-loop conditions in Htsearch. (3.1.5)

Subject: Re: [htdig] How to manage infinite-loop conditions in Htsearch. (3.1.5)
From: Gilles Detillieux (
Date: Tue May 09 2000 - 13:04:30 PDT

According to
> Appears that, in real world, htsearch 3.1.5 will from time to time loop; due
> basically to configuration file not set up to deal with actual conditions at
> searched web site(s).
> Does Unix have any ability to limit elapsed time (and/or disk space) used by
> an attempt to run htsearch? Hopefully, giving the ability to obtain/test a
> return code, etc.

Currently, htsearch sets a time limit of 5 minutes. This can be changed
by changing the alarm() call in htsearch/, to whatever limit
you want. The only thing I can think of that would make it take that long
is if you have a huge database and you search for a very common word.
You may also want to have a look at
for suggestions. By the way, htsearch shouldn't be consuming any disk
space at all - its only output is the HTML it sends out to your browser,
and possibly a small log entry.

Gilles R. Detillieux              E-mail: <>
Spinal Cord Research Centre       WWW:
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 You will receive a message to confirm this.

This archive was generated by hypermail 2b28 : Tue May 09 2000 - 10:51:56 PDT