[Gluster-users] Exact purpose of network.ping-timeout

Sam McLeod smj at fastmail.com
Thu Dec 28 01:57:21 UTC 2017

10 seconds is a very long time for files to go away for applications used at any scale, it is however what I've set our failover time to after being shocked by the default of 42 seconds.

Sam McLeod

> On 27 Dec 2017, at 10:17 pm, Omar Kohl <omar.kohl at iternity.com> wrote:
> Hi,
>> If you set it to 10 seconds, and a node goes down, you'll see a 10 seconds freez in all I/O for the volume.
> Exactly! ONLY 10 seconds instead of the default 42 seconds :-)
> As I said before the problem with the 42 seconds is that a Windows Samba Client will disconnect (and therefore interrupt any read/write operation) after waiting for about 25 seconds. So 42 seconds is too high. In this case it would therefore make more sense to reduce the ping-timeout, right?
> Has anyone done any performance measurements on what the implications of a low ping-timeout are? What are the costs of "triggering heals all the time"?
> On a related note I found the extras/hook-scripts/start/post/S29CTDBsetup.sh script that mounts a CTDB (Samba) share and explicitly sets the ping-timeout to 10 seconds. There is a comment saying: "Make sure ping-timeout is not default for CTDB volume". Unfortunately there is no explanation in the script, in the commit or in the Gerrit review history (https://review.gluster.org/#/c/7569/, https://review.gluster.org/#/c/8007/) for WHY you make sure ping-timeout is not default. Can anyone tell me the reason?
> Kind regards,
> Omar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20171228/97decac9/attachment.html>

More information about the Gluster-users mailing list