[Bug 211990] iscsi fails to reconnect and does not release devices

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 20 17:29:52 UTC 2016


--- Comment #5 from Ben RUBSON <ben.rubson at 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=85
sysctl kern.iscsi.iscsid_timeout=5
sysctl kern.iscsi.ping_timeout=5
These are based on net.inet.tcp.keepinit which is 75000 by default (75

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.

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

More information about the freebsd-bugs mailing list