We have a problem whereby after making a certain (larger) number of requests to the Core Service, the requests begin to time out with the following message:
The request channel timed out while waiting for a reply after 00:01:00. Increase the timeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.
The failure is on:
Tridion.ContentManager.CoreService.Client.ISessionAwareCoreService.Read(String id, ReadOptions readOptions)
When initializing the core service client we do this:
ISessionAwareCoreService coreServiceClient = factory.CreateChannel();
I suspect, given other posts, that the problem is that the coreServiceClient
is not disposed of once we've finished with it, and thus we get to a point where we are unable to create any further connections.
Other posts on a similar topic: /WebUI/Models/TCM54/Services/General.svc/GetUserSettings taking TEN minutes to respond
Is there a way to dispose of the coreServiceClient
when we are finished with it, and does this seem like a plausible cause of the issue?