Archived

This forum has been archived. Please start a new discussion on GitHub.

timeout seems don't work

we use ice in huge concurrent environment(wap web site), and set Ice.Override.Timeout is 3 seconds, it's seem when several timeouts accurs, then in follow requests, most invoke seems timeout not work, invoke log as follow:
MPetIFPrxWrapper.queryPetInfo 1011010625769739 timeout 3006
2008-07-17 09:34:31.594 INFO MPetIFPrxWrapper.queryPetInfo 1011010625769739 timeout 3006
...
many timeout like this, and timeout exactly is 3 seconds. and several mins later, log as follow:

2008-07-17 09:34:51.983 INFO MPetIFPrxWrapper.queryPetInfo 1011010490886679 0 8267
2008-07-17 09:34:51.990 INFO MPetIFPrxWrapper.queryPetInfo 1010010807083797 0 6811
...
the invoke hasn't timeout(8.2s, 6.8s), but it seems no timeout exceptions are throwed, and the server seems also not receive the request, that's why?


detail info:
queryPetInfo : 3000/per seconds
three servers in backend
what's info do you need ?

Comments

  • marc
    marc Florida
    Before we can give you our assistance, can you please update your user profile with your full name (first and last name), and details about your project. As you say, you are using Ice in a "huge concurrent environment," so I'm sure you can give us more details about your project than "just learn".

    Thanks,
    Marc
  • benoit
    benoit Rennes, France
    Hi,

    Thanks for updating your profile. Which Ice version and OS are you using? Note that if it's safe to, requests can be retried. So the timeout might not exactly always occur after 3s, the best is to enable network and retry tracing to see what the Ice runtime is doing (with the Ice.Trace.Network=2, Ice.Trace.Retry=1 propeties).

    It's not clear to me from your description what the problem is but an invocation that succeeds should definitely be received by the server. Also, even if the timeout is set to 3s, an invocation might still take more time to complete successfully. That's the case of invocations which transfer large amount of data for example, see also 28.12 Connection Timeouts in the Ice manual.

    Cheers,
    Benoit.