Forum OpenACS Q&A: Response to Killing an Aolserver thread?

Collapse
Posted by David Walker on
Here is the information I get.
Conn #: 84127 Client IP: 10.1.12.132 State: running Method: ? URL: ? n
seconds: 1425576 bytes: 0

I have something somewhere that runs forever sometimes.  Very likely a bug
in my code.  Fixing it is a great idea.  However it takes anywhere from a day
to several days to happen.  Would be much preferred to get a "Script timed
out at ns_db gethandle within etc." or some such error.

Would this require rewriting tcl to process an event loop while commands are
running?  (whether or not that is even a good idea is a separate question)