Exchange 255 RPC Connection Limit

  • Thread starter Thread starter OutlookIssueMan
  • Start date Start date
O

OutlookIssueMan

We have a C# and C++ program that processes lots of Outlook Items, and we
have run into Exchange's 255 RPC connection limit in the past. We had
solved our problems by releasing COM objects, calling garbage collection at
opportune times, and working carefully with large selections of items within
Outlook.

Recently we made a change that caused us to run into the limit again. I
suspect we added code that does not release it's resources properly, however
it is a complicated program and it's difficult to tell.

My question is, is there any way to monitor the count of RPC connections to
Exchange using C#? If I could see where the connections were increasing, it
would be a lot easier to debug these problems, now and in the future.

Michael
 
I don't think there is a way to monitor open RPC connections.
Another thing to keep in mind is multiple dot notation: make sure you do not
use it.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
Yes, we are (generally) very careful about that. I was hoping that there
would be a system call, WMI, networking monitoring tool, or something that I
could use to monitor the connections.

Michael
 
Back
Top