• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Long Time Dealy When getting Vended Object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Long Time Dealy When getting Vended Object


  • Subject: Re: Long Time Dealy When getting Vended Object
  • From: Ken Thomases <email@hidden>
  • Date: Wed, 22 Apr 2009 03:22:45 -0500

On Apr 22, 2009, at 1:14 AM, Kiran Kumar S wrote:

Really going mad, it is taking long time response when i am trying to get vended Object from the remote machine which doesn't exist in the network. .
I am facing same long time delay(more than 60 sec) when i am trying to get vended object from the remote machine which gone to sleep.
Below is the code


[...]

On which line is the code blocking? You can find out by sampling the process from Activity Monitor or breaking into the process with the debugger.


The delay you're seeing is probably the TCP connection timeout. On most systems, it will take about 9 minutes for TCP to give up all attempts to connect and timeout. I would hope that NSConnection would implement its own timeout mechanism as an alternative to allowing TCP to exhaust itself.

As near as I can tell from reviewing the documentation, the reply timeout should govern the -rootProxy method. Since you're setting that, then I'm not sure why it's not working.

This might be a bug, which you should file at <http://bugreport.apple.com >.

Regards,
Ken

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Long Time Dealy When getting Vended Object
      • From: Kiran Kumar S <email@hidden>
References: 
 >Long Time Dealy When getting Vended Object (From: Kiran Kumar S <email@hidden>)

  • Prev by Date: Re: How to make app login window to look like OS X user login window ?
  • Next by Date: Re: Core Data Fetches + Transient Properties + NSPredicateEditor = Sadness
  • Previous by thread: Long Time Dealy When getting Vended Object
  • Next by thread: Re: Long Time Dealy When getting Vended Object
  • Index(es):
    • Date
    • Thread