diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-09-24 15:51:33 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2008-09-24 15:51:33 -0500 |
commit | dbf6045c5c4fbab50d1f282549fe9df026fdbec2 (patch) | |
tree | 1c4aba50600fa439333464c3344642af1db4e9c2 /etc | |
parent | f0a39fb71a0ea0c0c1c692ec071db0d958f03546 (diff) | |
download | open-iscsi-dbf6045c5c4fbab50d1f282549fe9df026fdbec2.tar.gz |
iscsi conf: partially revert increase default login max change
45 is too high if the connection is timing out. It is
45 * 15 seconds. This sets the retry limit to 8,
which would make the connection timeout wait 2 minutes.
This is still to few retries for the static ip problem, so
in the next patch we will modify iscsid so it retries
connection errors like this up to login_timeout * login_retry
seconds. This would be 2 minutes which is working for the
bug reporters on the list.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/iscsid.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/iscsid.conf b/etc/iscsid.conf index d91b7fc..40027d6 100644 --- a/etc/iscsid.conf +++ b/etc/iscsid.conf @@ -109,15 +109,15 @@ node.session.err_timeo.lu_reset_timeout = 20 # To speficy the number of times iscsiadm should retry a login # to the target when we first login, modify the following line. -# The default is 45. Note that after each attempt iscsid will -# sleep 1 second. +# The default is 8. Note that after each attempt iscsid will +# sleep 3 second. # # Valid values are any integer value. This only # affects the initial login. Setting it to a high value can slow # down the iscsi service startup. Setting it to a low value can # cause a session to not get logged into, if there are distuptions # during startup or if the network is not ready at that time. -node.session.initial_login_retry_max = 45 +node.session.initial_login_retry_max = 8 ################################ # session and device queue depth |