<div dir="ltr">I haven't seen this bug filed yet.   <div><br></div><div>Please submit this.  For anyone using automounter this bug is a ticking time bomb.  </div><div><br></div><div>I've been able to extend my frequency of reboots by about a week with </div><div><br></div><div><font face="monospace, monospace">ndd -set /dev/tcp tcp_smallest_anon_port 1024</font><br></div><div><br></div><div>However, until this is fixed, I'm forced to reboot every couple weeks.</div><div><br></div><div>Thank you,</div><div><br></div><div>-Chip</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 8, 2018 at 10:46 AM, Dan McDonald <span dir="ltr"><<a href="mailto:danmcd@joyent.com" target="_blank">danmcd@joyent.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">OH PHEW!<br>
<span class=""><br>
> On Jan 8, 2018, at 11:43 AM, Youzhong Yang <<a href="mailto:youzhong@gmail.com">youzhong@gmail.com</a>> wrote:<br>
><br>
> This is our patch. It was applied 3 years ago so the line number could be different for the latest version of the file.<br>
> diff --git a/usr/src/uts/common/rpc/clnt_<wbr>cots.c b/usr/src/uts/common/rpc/clnt_<wbr>cots.c<br>
> index 4466e93..0a0951d 100644<br>
> --- a/usr/src/uts/common/rpc/clnt_<wbr>cots.c<br>
> +++ b/usr/src/uts/common/rpc/clnt_<wbr>cots.c<br>
> @@ -2285,6 +2285,7 @@ start_retry_loop:<br>
>               if (rpcerr->re_status == RPC_SUCCESS)<br>
>                       rpcerr->re_status = RPC_XPRTFAILED;<br>
>               cm_entry->x_connected = FALSE;<br>
> +             cm_entry->x_dead = TRUE;<br>
>       } else<br>
>               cm_entry->x_connected = connected;<br>
><br>
> @@ -2403,6 +2404,7 @@ connmgr_wrapconnect(<br>
>                       if (rpcerr->re_status == RPC_SUCCESS)<br>
>                               rpcerr->re_status = RPC_XPRTFAILED;<br>
>                       cm_entry->x_connected = FALSE;<br>
> +                     cm_entry->x_dead = TRUE;<br>
>               } else<br>
>                       cm_entry->x_connected = connected;<br>
<br>
</span>This makes TONS more sense, and alleviates/obviates my concerns previously.<br>
<br>
If there isn't a bug already, please file one.  Once filed or found, please add me as a code reviewer for this.<br>
<br>
Thanks,<br>
Dan<br>
<br>
<br>
------------------------------<wbr>------------<br>
illumos-zfs<br>
Archives: <a href="https://illumos.topicbox.com/groups/zfs/discussions/T8f10bde64dc0d5c5-M889b6aaf7cbeb0b32617f321" rel="noreferrer" target="_blank">https://illumos.topicbox.com/<wbr>groups/zfs/discussions/<wbr>T8f10bde64dc0d5c5-<wbr>M889b6aaf7cbeb0b32617f321</a><br>
<div class="HOEnZb"><div class="h5">Powered by Topicbox: <a href="https://topicbox.com" rel="noreferrer" target="_blank">https://topicbox.com</a><br>
</div></div></blockquote></div><br></div>