Make sure you have enough worker threads to handle blocking itcl scripts. For performance reasons, itcl only switches thread to mode where it's allowed to block (another thread is spawned, if neccessary to handle pending work requests in-time), when outputting directly to socket) I'm planning to add tcl command that allows scripter to set thread to this mode, when he expects execution of script to take longer than 500ms.
|