[OmniOS-discuss] [zfs] Re: rpcbind: t_bind failed

Schweiss, Chip chip at innovates.com
Wed Jan 17 14:36:50 UTC 2018


I haven't seen this bug filed yet.

Please submit this.  For anyone using automounter this bug is a ticking
time bomb.

I've been able to extend my frequency of reboots by about a week with

ndd -set /dev/tcp tcp_smallest_anon_port 1024

However, until this is fixed, I'm forced to reboot every couple weeks.

Thank you,

-Chip

On Mon, Jan 8, 2018 at 10:46 AM, Dan McDonald <danmcd at joyent.com> wrote:

> OH PHEW!
>
> > On Jan 8, 2018, at 11:43 AM, Youzhong Yang <youzhong at gmail.com> wrote:
> >
> > This is our patch. It was applied 3 years ago so the line number could
> be different for the latest version of the file.
> > diff --git a/usr/src/uts/common/rpc/clnt_cots.c
> b/usr/src/uts/common/rpc/clnt_cots.c
> > index 4466e93..0a0951d 100644
> > --- a/usr/src/uts/common/rpc/clnt_cots.c
> > +++ b/usr/src/uts/common/rpc/clnt_cots.c
> > @@ -2285,6 +2285,7 @@ start_retry_loop:
> >               if (rpcerr->re_status == RPC_SUCCESS)
> >                       rpcerr->re_status = RPC_XPRTFAILED;
> >               cm_entry->x_connected = FALSE;
> > +             cm_entry->x_dead = TRUE;
> >       } else
> >               cm_entry->x_connected = connected;
> >
> > @@ -2403,6 +2404,7 @@ connmgr_wrapconnect(
> >                       if (rpcerr->re_status == RPC_SUCCESS)
> >                               rpcerr->re_status = RPC_XPRTFAILED;
> >                       cm_entry->x_connected = FALSE;
> > +                     cm_entry->x_dead = TRUE;
> >               } else
> >                       cm_entry->x_connected = connected;
>
> This makes TONS more sense, and alleviates/obviates my concerns previously.
>
> If there isn't a bug already, please file one.  Once filed or found,
> please add me as a code reviewer for this.
>
> Thanks,
> Dan
>
>
> ------------------------------------------
> illumos-zfs
> Archives: https://illumos.topicbox.com/groups/zfs/discussions/
> T8f10bde64dc0d5c5-M889b6aaf7cbeb0b32617f321
> Powered by Topicbox: https://topicbox.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20180117/fb83d37d/attachment.html>


More information about the OmniOS-discuss mailing list