locked
Workflow Foundation 4 freezing always at the same stage on Load Testing RRS feed

  • Question

  • I have a rather simple worflow hosted on AppFabric. I call it through a WCF endpoint using netTcpBinding, and it calls 2 WCF methods, also via netTcpBinding, hosted on the same server also on AppFabric. I can load test both of the WCF methods being called by the workflow simultaneously without any problems. However, when I start Load Testing the workflow, after a few seconds, when I'm around 10 simultaneous users, the WorkFlows locks up completely, and I'm unable to find out why. All clients starts raising Open Connection timeouts. 
    The problem is not locking on the SQL Server database, because I monitor it, and it's all go. All tables involved are lock free. I think the problem might be on MSTSC, since I start a transaction scope on the workflow, but how could I detect the problem there? The dashboard on dcomcnfg really doesn't help at all. 
    How can I find out where's the problem? What could be the problem. Any help would be greatly appreciated. 
    Tks
    Tuesday, April 5, 2011 7:56 PM

Answers

  • Please can you try to attach to your workflow server process, force break, and look at the stacks from every thread.
    See if from the call stacks you can identify the operations which are blocking threads (downloading public symbols from MS servers may help).

    Tim
    • Marked as answer by Andrew_Zhu Tuesday, April 12, 2011 3:48 AM
    Wednesday, April 6, 2011 8:57 PM

All replies

  • Please can you try to attach to your workflow server process, force break, and look at the stacks from every thread.
    See if from the call stacks you can identify the operations which are blocking threads (downloading public symbols from MS servers may help).

    Tim
    • Marked as answer by Andrew_Zhu Tuesday, April 12, 2011 3:48 AM
    Wednesday, April 6, 2011 8:57 PM
  • Sorry it took so long to respond.

    Attach to the server process through Remote Debugging while the process is locked?

    Wednesday, April 13, 2011 7:47 PM
  • Yes, that's the idea.
    Tim
    Wednesday, April 13, 2011 8:10 PM