[Opensim-dev] Watchdog timeouts frequent on update to latest 0.7.2 dev?

Justin Clark-Casey jjustincc at googlemail.com
Sat Aug 27 00:57:34 UTC 2011


The AsyncLSLCmdHandlerThread is used by the script engine as the first step in handling inbound http/xmlrpc requests, 
script timers, listeners, sensors and the data server.

It doesn't process the requests directly but instead posts events that are then handled by other threads from the 
XEngine threadpool (as controlled by the MinThreads/MaxThreads parameters in [XEngine].

So I'm surprised to see the AsyncLSLCmdHandlerThread stalling.  Here, the watchdog eventually detects it has stopped 
checking in and restarts it, but the delay is continually happening.

So I'm not sure what the cause would be - it doesn't ring any bells with recent code changes.  I'm afraid it's a case of 
git bisect.

On 26/08/11 08:51, Ai Austin wrote:
> I know we occasionally see watchdog timeouts... I see one or two every now and then. But something seems to have altered
> a lot as I am now seeing a constant flow on Openvue grid even when its idling with no users online, no activity, and
> nothing else running on the host involved. Just thought I would note it here rather Mantis it in case it rings any
> bellsfor changes made in last 2 to 5 days say? Sample set of log entries from half an hour this morning....
>
> 08:00:26 - [WATCHDOG]: Started tracking thread "MapItemRequestThread" (ID 16)
> 08:04:32 - [WATCHDOG]: Timeout detected for thread "AsyncLSLCmdHandlerThread". ThreadState=Background. Last tick was
> 5101ms ago
> 08:04:39 - [WATCHDOG]: Started tracking thread "AsyncLSLCmdHandlerThread" (ID 43)
> 08:04:52 - [WATCHDOG]: Timeout detected for thread "AsyncLSLCmdHandlerThread". ThreadState=Background. Last tick was
> 7129ms ago
> 08:05:03 - [WATCHDOG]: Started tracking thread "AsyncLSLCmdHandlerThread" (ID 43)
> 08:08:19 - [WATCHDOG]: Timeout detected for thread "AsyncLSLCmdHandlerThread". ThreadState=Background. Last tick was
> 5320ms ago
> 08:08:19 - [WATCHDOG]: Started tracking thread "AsyncLSLCmdHandlerThread" (ID 43)
> 08:11:48 - [WATCHDOG]: Timeout detected for thread "MapItemRequestThread". ThreadState=Background, WaitSleepJoin. Last
> tick was 5211ms ago
> 08:11:49 - [WATCHDOG]: Started tracking thread "MapItemRequestThread" (ID 33)
> 08:20:46 - [WATCHDOG]: Timeout detected for thread "AsyncLSLCmdHandlerThread". ThreadState=Background. Last tick was
> 6615ms ago
> 08:20:57 - [WATCHDOG]: Started tracking thread "AsyncLSLCmdHandlerThread" (ID 43)
> 08:22:09 - [WATCHDOG]: Timeout detected for thread "AsyncLSLCmdHandlerThread". ThreadState=Background. Last tick was
> 5507ms ago
> 08:22:15 - [WATCHDOG]: Started tracking thread "AsyncLSLCmdHandlerThread" (ID 43)
> 08:23:10 - [WATCHDOG]: Timeout detected for thread "MapItemRequestThread". ThreadState=Background, WaitSleepJoin. Last
> tick was 6224ms ago
> 08:23:10 - [WATCHDOG]: Started tracking thread "MapItemRequestThread" (ID 16)
> 08:28:11 - [WATCHDOG]: Timeout detected for thread "AsyncLSLCmdHandlerThread". ThreadState=Background. Last tick was
> 7020ms ago
> 08:28:20 - [WATCHDOG]: Started tracking thread "AsyncLSLCmdHandlerThread" (ID 43)
> 08:31:53 - [WATCHDOG]: Timeout detected for thread "AsyncLSLCmdHandlerThread". ThreadState=Background. Last tick was
> 5632ms ago
> 08:31:59 - [WATCHDOG]: Started tracking thread "AsyncLSLCmdHandlerThread" (ID 43)
> 08:32:10 - [WATCHDOG]: Timeout detected for thread "AsyncLSLCmdHandlerThread". ThreadState=Background. Last tick was
> 5585ms ago
> 08:32:17 - [WATCHDOG]: Started tracking thread "AsyncLSLCmdHandlerThread" (ID 43)
> 08:36:47 - [WATCHDOG]: Timeout detected for thread "AsyncLSLCmdHandlerThread". ThreadState=Background. Last tick was
> 5928ms ago
> 08:36:47 - [WATCHDOG]: Started tracking thread "AsyncLSLCmdHandlerThread" (ID 43)
> 08:39:12 - [WATCHDOG]: Timeout detected for thread "AsyncLSLCmdHandlerThread". ThreadState=Background. Last tick was
> 7472ms ago
> 08:39:17 - [WATCHDOG]: Started tracking thread "AsyncLSLCmdHandlerThread" (ID 43)
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>


-- 
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc



More information about the Opensim-dev mailing list