Zombies problem

Home Page Forums BizTalk 2004 – BizTalk 2010 Zombies problem

Viewing 1 reply thread
  • Author
    Posts
    • #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

       

    • #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 .

      • #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

      • #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.

        • #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

      • #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

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.