According to [EMAIL PROTECTED]:
> 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/htsearch.cc, 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 http://www.htdig.org/FAQ.html#q5.10
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: <[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

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.

Reply via email to