PollingDuplexHttpBinding faulted after 5 or 6 calls

382 Views Asked by At

I have Implemented polling duplex in silverlight 4 application for getting large amounts of data using client call backs from server, so my service contains some functions with client call backs and some with out call backs. When only 3 or 4 functions called parallel it was working fine, when more than 5 or 6 parallel calls are there i am getting ServerTooBusyException (Service is too busy).

After setting serviceThrottling maxConcurrentCalls="10000" maxConcurrentInstances="10000" maxConcurrentSessions="10000" values also, I am unable to fix the problem.

When I apply basichttpbinding to service everything is working fine, but when pollingDuplexHttpBinding is aplied its giving error

1

There are 1 best solutions below

0
On

Take a look at ReliableSessionElement.MaxPendingChannels. Here is example. BTW May be it will be good to think about how to process that exception when the time comes.