I am working on the Correspondence Tracking module. Certain operations in our module takes a really really long time to execute when running as a Service. It also happens in Update 1. It seems like all the threads hang when one of the DistributedAgent sleeps. One of the requests takes about 3 to 4 minutes to execute. The following is the list of DistributedAgent threads when they are about to go to sleep. Anyh help is appreciated. Please let me know if you need more info. Thanks. BTW, it works fine in the Builder as it has only one thread.
connect105.log(346): 08/09/2011 15:13:36 INFO [2201016136] 0000001816: CAPI.Log: DistributedAgentLog: ....Going to sleep for 1000 ms.
connect105.log(375): 08/09/2011 15:13:37 INFO [2202020377] 0000002190: CAPI.Log: DistributedAgentLog: ....Going to sleep for 2000 ms.
connect105.log(411): 08/09/2011 15:13:39 INFO [2204037195] 0000003049: CAPI.Log: DistributedAgentLog: ....Going to sleep for 3000 ms.
connect105.log(441): 08/09/2011 15:13:42 INFO [2207046712] 0000003130: CAPI.Log: DistributedAgentLog: ....Going to sleep for 5000 ms.
connect105.log(463): 08/09/2011 15:13:47 INFO [2212053091] 0000003821: CAPI.Log: DistributedAgentLog: ....Going to sleep for 8000 ms.
connect105.log(485): 08/09/2011 15:13:55 INFO [2220055545] 0000003892: CAPI.Log: DistributedAgentLog: ....Going to sleep for 13000 ms.
connect105.log(507): 08/09/2011 15:14:08 INFO [2233073666] 0000003957: CAPI.Log: DistributedAgentLog: ....Going to sleep for 21000 ms.
connect105.log(529): 08/09/2011 15:14:29 INFO [2254076338] 0000004028: CAPI.Log: DistributedAgentLog: ....Going to sleep for 34000 ms.
connect106.log(346): 08/09/2011 15:13:36 INFO [2201550674] 0000002162: CAPI.Log: DistributedAgentLog: ....Going to sleep for 1000 ms.
connect106.log(375): 08/09/2011 15:13:37 INFO [2202566758] 0000002558: CAPI.Log: DistributedAgentLog: ....Going to sleep for 2000 ms.
connect106.log(405): 08/09/2011 15:13:39 INFO [2204578849] 0000003078: CAPI.Log: DistributedAgentLog: ....Going to sleep for 3000 ms.
connect106.log(435): 08/09/2011 15:13:42 INFO [2207592936] 0000003159: CAPI.Log: DistributedAgentLog: ....Going to sleep for 5000 ms.
connect106.log(457): 08/09/2011 15:13:47 INFO [2212598719] 0000003842: CAPI.Log: DistributedAgentLog: ....Going to sleep for 8000 ms.
connect106.log(479): 08/09/2011 15:13:55 INFO [2220601580] 0000003913: CAPI.Log: DistributedAgentLog: ....Going to sleep for 13000 ms.
connect106.log(501): 08/09/2011 15:14:08 INFO [2233611356] 0000003978: CAPI.Log: DistributedAgentLog: ....Going to sleep for 21000 ms.
connect106.log(523): 08/09/2011 15:14:29 INFO [2254622746] 0000004075: CAPI.Log: DistributedAgentLog: ....Going to sleep for 34000 ms.
connect107.log(338): 08/09/2011 15:13:37 INFO [2202109529] 0000002528: CAPI.Log: DistributedAgentLog: ....Going to sleep for 1000 ms.
connect107.log(360): 08/09/2011 15:13:38 INFO [2203112231] 0000003013: CAPI.Log: DistributedAgentLog: ....Going to sleep for 2000 ms.
connect107.log(382): 08/09/2011 15:13:40 INFO [2205124576] 0000003099: CAPI.Log: DistributedAgentLog: ....Going to sleep for 3000 ms.
connect107.log(404): 08/09/2011 15:13:43 INFO [2208136584] 0000003180: CAPI.Log: DistributedAgentLog: ....Going to sleep for 5000 ms.
connect107.log(434): 08/09/2011 15:13:48 INFO [2213145925] 0000003871: CAPI.Log: DistributedAgentLog: ....Going to sleep for 8000 ms.
connect107.log(456): 08/09/2011 15:13:56 INFO [2221147457] 0000003936: CAPI.Log: DistributedAgentLog: ....Going to sleep for 13000 ms.
connect107.log(486): 08/09/2011 15:14:09 INFO [2234159024] 0000004007: CAPI.Log: DistributedAgentLog: ....Going to sleep for 21000 ms.
connect107.log(516): 08/09/2011 15:14:30 INFO [2255171844] 0000004104: CAPI.Log: DistributedAgentLog: ....Going to sleep for 34000 ms.