Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Remoting / June 2007

Tip: Looking for answers? Try searching our database.

RemotingException: Port is Busy: All pipe instances are busy

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Seth Van Nijen - 24 May 2007 11:25 GMT
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()
Seth Van Nijen - 14 Jun 2007 16:03 GMT
Could someone at least point me to some useful documentation on this exception?

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

Thanks!

> Hi,
>
[quoted text clipped - 39 lines]
> msgData, Int32 type)
>    at Application.get_Property()

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.