> is there any way to catch crashes related to insufficient stack space and
add
> a relevant entry in the server log to remove the guesswork from
> troubleshooting these?

These are most often related to infinite loops in Tcl.  In general the
recursion limit (default 1000 - note that this is for infinite loop
recursion, and as such is fairly high) is not too high to be caught
without blowing stack.  However, AOLServer uses a threaded Tcl, and many
machines have a much lower per-thread stack.  You can either up this, or,
starting in Tcl 8.4, lower the recursion limit (via interp recusionlimit)
in order to move the problem back into being a Tcl error (not a crash).

  Jeff Hobbs                     The Tcl Guy
  Senior Developer               http://www.ActiveState.com/
      Tcl Support and Productivity Solutions

Reply via email to