Re: [htdig] Maxlength for $(WORDS)

Gilles Detillieux (
Wed, 17 Mar 1999 13:18:51 -0600 (CST)

According to Geoff Hutchison:
> At 11:19 AM -0500 3/17/99, Patrick Dugal wrote:
> >Does anyone know the maxlength for the $(WORDS) variable
> >which holds the query?
> There is no max length. Well, I guess it's limited by your total memory,
> but that would be a really BIG query.

Well, given that the query must fit in an HTTP GET (at least for followup
queries, if not for the original which can be handled by the POST method),
I'd say the practical limit is a little less than the total environment
variable space for a process on your system, or the maximum size of an
HTTP GET request allowed by your server, whichever is less. If your
really need to know, I guess you'd need to look for this info in the
man page for the exec system calls on your system, and the manual for
your http server. Either that or push it until it breaks! ;-)

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 containing the single word "unsubscribe" in
the SUBJECT of the message.

This archive was generated by hypermail 2.0b3 on Fri Mar 19 1999 - 17:32:54 PST