I have a windows service that is very heavily multithreaded (hundreds to thousands at the same time). Those threads scan different machines and call WCF web services of one Web Server. Lately I started getting Timeout errors. The thing that confuses me is
The request channel timed out while waiting for a reply after 00:02:41.8806080. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. Server stack trace: .... Exception rethrown at [0]: ... The HTTP request to 'http://XXX/XXX/MonitorService.svc' has exceeded the allotted timeout of 00:10:00. The time allotted to this operation may have been a portion of a longer timeout. at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
My question is what happened during over 7 minutes? Was it waiting at the client for 10 minutes but at the web server for 2:41? Why would that be? If I call a webservice hundreds of times from different thread at the same time is it somehow queued on the client? Even before reaching IIS?
I appreciate any help with this. Thanks so much in advance.