Service too busy error in WCF

前端 未结 8 724
被撕碎了的回忆
被撕碎了的回忆 2021-01-03 20:07

I intermittently get the following exception in my .Net WCF Service. \"The HTTP service located at http://MyServer/TestWCF/MyService.svc is too busy.\"

Am I missing

8条回答
  •  孤城傲影
    2021-01-03 20:44

    The only source of this exception that I am aware of is if you are using sessions, and you manage to hit the MaxPendingChannels throttle,. Its default is something pretty low like 4. You could try setting it higher (128 for example), or if you just want to repro, set it to 1 and you should see it under load testing.

    See here for more information about sessions: http://msdn.microsoft.com/en-us/library/ms733795.aspx

提交回复
热议问题