Description of problem: The iterative search for a socket to bind at startup is slow and of little value to at least one customer. Just bind(0) and let OS assign a port. Version-Release number of selected component (if applicable): How reproducible: Start deamon, feel the slow.
REVIEW: http://review.gluster.org/16178 ([PATCH] Allow OS to assign us a port) posted (#1) for review on master by Kevin Vigor (kvigor)
REVIEW: https://review.gluster.org/16178 (transport: allow OS to assign us a port) posted (#2) for review on master by Jeff Darcy (jdarcy)
REVIEW: https://review.gluster.org/16178 (transport: allow OS to assign us a port) posted (#3) for review on master by Jeff Darcy (jdarcy)
COMMIT: https://review.gluster.org/16178 committed in master by Vijay Bellur (vbellur) ------ commit eac6dfc314abe4dc50c54bf6c6cc004dfd73d5ac Author: Kevin Vigor <kvigor> Date: Thu Dec 15 13:41:14 2016 -0800 transport: allow OS to assign us a port Replace complex and slow port selection code with bind(0) which already respects privileged ports. Change-Id: I408a8528e58e1aafcd32eba6a8f1a759e0bf274e BUG: 1405628 Reviewed-on-release-3.8-fb: http://review.gluster.org/16150 Signed-off-by: Jeff Darcy <jdarcy> Reviewed-on: https://review.gluster.org/16178 Smoke: Gluster Build System <jenkins.org> Reviewed-by: Niels de Vos <ndevos> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Vijay Bellur <vbellur>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.11.0, please open a new bug report. glusterfs-3.11.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2017-May/000073.html [2] https://www.gluster.org/pipermail/gluster-users/