Sticky FAQs

»

ID #1090

There are 2 time-out values that can be set up in Muse Proxy: - Connect time-out - Read time-out These 2 time-out values are base settings for connection to sockets: - the Connect time-out is the time to wait until a connection is timing out. - the Read

There are 2 time-out values that can be set up in Muse Proxy:
- Connect time-out
- Read time-out

These 2 time-out values are base settings for connection to sockets:
- the Connect time-out is the time to wait until a connection is timing out. 
- the Read time-out is the time to wait while reading from the socket from the last chunk of bytes are read successfully until the next chunk of bytes are read successfully.

The time-out values live in the $MUSE_HOME/proxy/startMuseProxy script :


-Dsun.net.client.defaultConnectTimeout=60000
-Dsun.net.client.defaultReadTimeout=60000

These are used as default values for Connect and Read time-out parameters.

The default value for the Read time-out parameter set using the java virtual machine property specified above can be overwritten using the READ_TIMEOUT field from the MuseProxy.xml configuration file. By default the value of the READ_TIMEOUT field from MuseProxy.xml configuration file is 300000.

So considering the above comments:
- the default value for the Connect time-out parameter is 60000 miliseconds (this is set using the -Dsun.net.client.defaultConnectTimeout java virtual machine property)
- the default value for the Read time-out parameter is 300000 miliseconds (this is set using the READ_TIMEOUT field from MuseProxy.xml configuration file and overwrites the value set using the java virtual machine property  -Dsun.net.client.defaultReadTimeout)

Tags: connect, proxy, read, timeout, time out

Related entries: -

Last update: 2013-09-03 14:14
Author: Administrator
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Rate this FAQ

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

powered by phpMyFAQ 2.7.2