Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Aug 2016 17:29:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 211990] iscsi fails to reconnect and does not release devices
Message-ID:  <bug-211990-8-q26wsxdoxn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211990-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211990-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211990

--- Comment #5 from Ben RUBSON <ben.rubson@gmail.com> ---
I made further troubleshooting.

Regarding the number of iscsid processes which increases, I've found timeout
settings which permit to always have only one process per target :
sysctl kern.iscsi.login_timeout=3D85
sysctl kern.iscsi.iscsid_timeout=3D5
sysctl kern.iscsi.ping_timeout=3D5
These are based on net.inet.tcp.keepinit which is 75000 by default (75
seconds).

Regarding the "30" processes limit, it can be tuned with the "-d" option to
iscsid (through /etc/rc.d/iscsid for example).

And the most important, regarding the bug :
when devices do not want to correctly reconnect, I found that it is because
iscsi is stuck in the following :
cam_sim_free(is->is_sim, TRUE /*free_devq*/);
However I don't know why.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211990-8-q26wsxdoxn>