all groups > dotnet remoting > may 2007 >
You're in the

dotnet remoting

group:

RemotingException: Port is Busy: All pipe instances are busy


RemotingException: Port is Busy: All pipe instances are busy Seth Van Nijen
5/24/2007 3:25:00 AM
dotnet remoting:
Hi,

I'm using IPC channel remoting. After the application (remoting client) has
been running for a while it receives a RemotingException "Port is Busy: All
pipe instances are busy" while attempting to retrieve a property from the
remoting server (a different process on the same machine). The problem occurs
after seemingly random amounts of time.

I searched for this exception message but nothing substantial turned up, so
here are my questions:

1) What causes this? (yes, I think too many clients are attempting to access
the server but I'd like to be sure because there are at most three process
trying to do that - which isn't that much, really)

2) How can I find out what is causing this?

3) Can I solve this by simply making the client retry? If so, do I retry
immediately or sleep for a while? If retrying doesn't help, what would?

Thanks for your time!

FYI, the complete stack trace is:

Server stack trace:
at System.Runtime.Remoting.Channels.Ipc.IpcPort.Connect(String portName,
Boolean secure, TokenImpersonationLevel impersonationLevel, Int32 timeout)
at
System.Runtime.Remoting.Channels.Ipc.ConnectionCache.GetConnection(String
portName, Boolean secure, TokenImpersonationLevel level, Int32 timeout)
at
System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage
msg, ITransportHeaders requestHeaders, Stream requestStream,
ITransportHeaders& responseHeaders, Stream& responseStream)
at
System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at Application.get_Property()
RE: RemotingException: Port is Busy: All pipe instances are busy Seth Van Nijen
6/14/2007 8:03:00 AM
Could someone at least point me to some useful documentation on this exception?

I checked out sscli20 but no info there either...

Thanks!

[quoted text, click to view]
AddThis Social Bookmark Button