Results 1 to 3 of 3

Thread: inaccurate timeout in ice call

  1. #1
    suds is offline Registered User
    Name: Hongquan.Zhang
    Organization: HUST
    Project: StreamOut is a distribute streaming service
    Join Date
    Jun 2006
    Posts
    14

    inaccurate timeout in ice call

    Hi there:
    I rencently ecnounter a wierd thing when using ice calll from client to server.
    Say , I set Ice.Override.Timeout to 30000 when client invoke server through ice . and at that time ,server is busy and temporarily blocked for a while. but only after 6000ms ,client raise a timeout exception.
    And this problem is not easy to reproduce and I don't know clearly which condition can cause this problem.
    Is there any one else who encounter this problem ? and is there any solution or suggestion for this issue ?
    Any help or suggestion is welcome.
    Thank you very much!

    Suds

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    By default, the Ice runtime retries the invocation if at-most-once semantics can still be guaranteed or if the invocation is idempotent. Most likely, this is what is happening here.

    You can enable retry/network tracing with Ice.Trace.Network=2 and Ice.Trace.Retry=1 to trace when the runtime retries and establishes network connections. You can disable retries by setting Ice.RetryIntervals=-1.

    Cheers,
    Benoit.

  3. #3
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Actually, I might have misread your post. If the timeout kicks in after 6000 ms , it's most likely another issue and I'm not sure what could be the reason (setting Ice.Trace.Network=3 might give us more clues). Or is this a typo and you meant to write 60000 ms?

    In any case, for more information on connection timeouts, I recommend to check out the manual here.

    Cheers,
    Benoit.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Inaccuracy AMI call timeout
    By suds in forum Help Center
    Replies: 4
    Last Post: 10-27-2009, 02:00 PM
  2. how to set timeout for each call?
    By alexnycheung in forum Help Center
    Replies: 2
    Last Post: 07-28-2009, 04:56 PM
  3. How to know it is async call or sync call?
    By alexnycheung in forum Help Center
    Replies: 1
    Last Post: 04-03-2009, 04:14 PM
  4. Replies: 4
    Last Post: 01-08-2009, 10:07 PM
  5. Exception while async call timeout
    By Andrew S in forum Bug Reports
    Replies: 5
    Last Post: 10-28-2008, 06:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •