Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Zombies problem
- This topic has 5 replies, 1 voice, and was last updated 9 years, 3 months ago by
community-content.
-
AuthorPosts
-
-
December 8, 2006 at 11:44 PM #16799
Hello all,
I am having a problem of zombies in m application. My architecture is a that of a sequential convoy that contains a listen shape in a while loop with receive shape on one branch and a delay shape on the other branch.
The delay has a timeout of 5 seconds and I am processing an average of 30,000 messages. I get a message "Completed with unconsumed messages" and I pretty much know it is because of zombies and I read in a lot of articles that my design very much prone to ombies. I would like to know if any one can suggest me an alternate method. I also read Stephen Thomas article and an article about zombies in MSDN. I saw another article with the possible scenarios and solutions but I could not fgure out much from it.
I know that we also have a WMI script but I would like to know an alternate approach which I could use in my orchestration to prevent these zombies.
Please help me regarding this issue.
Thanks
Jessica
-
December 9, 2006 at 12:11 AM #16800
Another solution that works is after the loop is over to have another loop with the same correlation set(following) to drain these instances for a certain amount of time ( DRAINING ). You can do this before or after you send out the final message . in the latter case you can send these drained ones as a second message or log them as errors .
-
December 9, 2006 at 2:40 PM #16807
Nishil, Thank you very much for the help. Can you please post an example or can you email me one example to my email address which shows the drainng. It would be really gr8 if you can help me regarding his issue.
Thanks,
Jessica
-
December 9, 2006 at 9:29 PM #16809
No real way to prevent zombies. Just ways to minimize them… I’ve seen that higher timeouts seem to bring fewer zombies. So something like 60 seconds vs 5 might be better off – but I’m guessing you have a reason for the 5 second timeout.
Any way to make the process very long running so the Orchestration never ends? It would just run forever processing messages. This works in some scenarios.
-
December 10, 2006 at 5:53 AM #16812
Hi Stephen,
Thanks for the reply, I am not still sure how that entire while loop listen shape etc work. I tried reading in your article but I could not understand it completely.
Thanx,
Jessica
-
-
December 10, 2006 at 5:54 AM #16813
Nishil I am trying to post messages but i dont see them It tells me the moderator has to approve my messges. Any idea, and Nishil can u plz show me an example of how that draining works.
Thanks,
Jessica
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.