Results 1 to 4 of 4

Thread: response timeout?

  1. #1
    David is offline Registered User
    Join Date
    Jun 2006
    Location
    Zürich
    Posts
    9

    response timeout?

    I invoke a void method, called setIt(), oneway, straight after I do an Ice_Ping.
    During the processing of the method setIt() I unplug the network.
    After ~20seconds Ice is trying establish connection to send an Ice_Ping request.
    In additional 10seconds Ice is trying establish connection to send an Ice_Ping (see Ice.RetryIntervals)

    The duration of the method setIt() takes 60seconds
    I set the property Ice.RetryIntervals=5000 10000,
    Ice.Override.Timeout=-1,
    Ice.Logger.Timestamp=1,
    Ice.Trace.Network=2,
    Ice.Trace.Protocol=2

    Is there any property to set this 20 seconds until the response fails?

    Thanks
    David Lüthi
    Schmid Telecom
    Project ICS

  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 David,

    I'm afraid I don't really understand the test case and your question, which 20 seconds are you refering to here?

    Perhaps you could post the code of your client with some comments? You could also post the tracing of the client (you can also use --Ice.Trace.Retry to tracing the retries).

    Cheers,
    Benoit.

  3. #3
    David is offline Registered User
    Join Date
    Jun 2006
    Location
    Zürich
    Posts
    9
    property --Ice.Trace.Retry was a help.

    Ice is trying to establish tcp connection 5 seconds after closing tcp connection event.
    David Lüthi
    Schmid Telecom
    Project ICS

  4. #4
    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
    Right, you have set the retry intervals to 5s and 10s. So after the first attempt fails, Ice waits 5s before to retry. If this attempt fails as well, it will wait for another 10s before to retry the last attempt.

    Let us know if you need more information.

    Cheers,
    Benoit.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Response thread
    By ngambek2003 in forum Help Center
    Replies: 19
    Last Post: 05-03-2010, 06:27 PM
  2. fast response of a twoway after a huge batch
    By David in forum Help Center
    Replies: 2
    Last Post: 06-26-2006, 08:10 AM
  3. How to minimize the response time?
    By rwxybh in forum Help Center
    Replies: 4
    Last Post: 01-15-2006, 09:25 PM
  4. how to match different request-response in ami call?
    By timeguest in forum Help Center
    Replies: 1
    Last Post: 10-28-2004, 07:25 AM

Posting Permissions

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