> Often, when I use Alchemi across a small grid, I find that I get undead > threads. When I examine the undead threads in the database, they all > have the following properties: > > thread_state = 1 > time_started = NULL > time_finished = NULL > > The threads have been assigned but it is not clear whether the threads > have been started. In the same DB with the same grid, I regularly see a > completed thread with time_started = NULL, so this is not a reliable > indicator of whether a thread has been started. > > What could cause these two properties to not be set correctly? Is there > some way to check the time_started/time_finished properties through the > API?
This could happen if the Manager lost track of the thread after it was scheduled due to some error. Currently there is no recovery built into the manager for such scenarios. The API would give you the same data that is in the database. There is something that can be used to see this data, it is used by the Console. Tibor ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Alchemi-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alchemi-developers
