<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">10 seconds is a <i class="">very</i> 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.<br class=""><div class="">
<div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class="">--<br class="">Sam McLeod<br class=""><a href="https://smcleod.net" class="">https://smcleod.net</a><br class="">https://twitter.com/s_mcleod</div></div></div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 27 Dec 2017, at 10:17 pm, Omar Kohl &lt;<a href="mailto:omar.kohl@iternity.com" class="">omar.kohl@iternity.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class=""><blockquote type="cite" class="">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.<br class=""></blockquote><br class="">Exactly! ONLY 10 seconds instead of the default 42 seconds :-)<br class=""><br class="">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?<br class=""><br class="">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"?<br class=""><br class="">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 (<a href="https://review.gluster.org/#/c/7569/" class="">https://review.gluster.org/#/c/7569/</a>, <a href="https://review.gluster.org/#/c/8007/" class="">https://review.gluster.org/#/c/8007/</a>) for WHY you make sure ping-timeout is not default. Can anyone tell me the reason?<br class=""><br class="">Kind regards,<br class="">Omar<br class=""><br class=""></div></div></blockquote></div><br class=""></body></html>