I have a multi threaded translation site that takes a query HL7 message, and routes it to one of two upoc thread in a round robbin style.
The two upoc threads have a tcl translate script that connect to a database using an ODBC connection, make a query and return the result.
I’m noticing that on every couple of times I start the site, I get the error:
[sms :sms :ERR /0:qry_upc0:02/29/2012 13:20:24] Error waiting for sub thread[3001] to start
The issue is occuring on startup only and seem to occur if the following line is called in the “start” portion of the tcl script:
package require odbc
From what I can tell the error is related to taking too long to start up, so I’m guessing that it takes an extra few milliseconds to start.
Is there a particular timeout that I can increase to stop this issue occuring, or am I left with possibly having to stop and start the site again to get it running.