On Wed, Jan 28, 2015 at 03:23:30PM -0500, Youzhong Yang wrote:
> Here are the illumos bugs related to the open source nlockmgr:
> 
> https://www.illumos.org/issues/4993 - NLM: LOCK_RES/UNLOCK_RES is
> retransmitted 5 times back to the client in case of UDP
> https://www.illumos.org/issues/4965 - NLM: Mac OS X client can be stuck at
> locking a NFS file on an illumos server (SmartOS, Nexenta or OmniOS etc.)
> running open source lockd
> https://www.illumos.org/issues/4518 - /usr/lib/nfs/lockd: [daemon.error]
> Cannot establish NLM service over <file desc. 9, protocol udp> : I/O error.
> Exiting
> https://www.illumos.org/issues/4517 - Locking the same file over NFS from a
> Linux client by multiple processes could cause 30 seconds delay
> accumulatively if the NFS server machine has more than one IPv4 interface.

Okay. Thanks for the list.  I thought you are talking about something new (not
yet filed).  The bugs are on my TODO list, but I cannot promise anything.

> 
> The issue of leaked reserved ports really has nothing to do with nlockmgr,
> nlockmgr is just a victim of the issue. I think Ken Harris has already
> communicated with you about a potential fix.

Yes.  Sorry, I had no time yet to continue to work on it.  It is on my TODO
list as well.

> 
> Except issue 4518, we have tried our own fixes and so far they work very
> well in our production environments.
> 
> Thanks,
> 
> 
> On Wed, Jan 28, 2015 at 3:00 PM, Marcel Telka <[email protected]> wrote:
> 
> > Please file bug report(s) with detailed information how to reproduce the
> > problem(s).
> >
> > Thanks.
> >
> > On Wed, Jan 28, 2015 at 01:58:21PM -0600, Schweiss, Chip via
> > illumos-discuss wrote:
> > > I've been through a lot of problems with this to and ultimately gave up
> > on
> > > the NFSv3 lock manager in Illumos and switched everything to NFSv4.
> > >
> > > There are several problems.  I diagnosed them using tcpdump and
> > Wireshark.
> > >
> > >    1. The locking manager uses different ports than the Linux firewall
> > >    expects for NFS and ends up blocking connections.   The only solution
> > I
> > >    found was to open all ports to the NFS server IP on the Linux NFS
> > client.
> > >    2. The lock manager holds on to locks longer than it should.  It
> > appears
> > >    to have a 30 second cycle on releasing lock.  This causes all locks
> > to get
> > >    used up really fast.
> > >    3. And of course the well know problem of the lock manager not
> > starting
> > >    because a client is no longer accessible.
> > >
> > > The easiest trigger I've found is run a bunch of csh processes that
> > cause a
> > > logon.  The .history file in the user's home directory will get locked
> > lots
> > > of times and consume all the locks.  We saw this from our processing
> > > cluster immediately when the new lock manger was introduced.
> > >
> > > -Chip
> > >
> > > On Wed, Jan 28, 2015 at 1:19 PM, Youzhong Yang via illumos-discuss <
> > > [email protected]> wrote:
> > >
> > > > A few months ago, we were hit by an issue in rpc module. When it
> > happens,
> > > > lots of reserved ports are in BOUND state, so nlockmgr will refuse lock
> > > > request.
> > > >
> > > > If 'netstat -an | grep BOUND | wc -l' returns a large number, then it's
> > > > the same issue as we had.
> > > >
> > > >
> > > >
> > > > On Wed, Jan 28, 2015 at 2:09 PM, Marcel Telka via illumos-discuss <
> > > > [email protected]> wrote:
> > > >
> > > >> On Wed, Jan 28, 2015 at 02:07:20PM -0500, Dan McDonald wrote:
> > > >> >
> > > >> > > On Jan 28, 2015, at 2:02 PM, Marcel Telka via illumos-discuss <
> > > >> [email protected]> wrote:
> > > >> > >
> > > >> > > Note: NexentaStor 4 uses the same new NLM implementation as recent
> > > >> illumos
> > > >> > > does.
> > > >> >
> > > >> > Is there anything there that needs to be upstreamed?
> > > >>
> > > >> No. Nexenta's NLM is in sync with illumos (from top of my head, but I
> > > >> believe
> > > >> I'm right).
> > > >>
> > > >> --
> > > >> +-------------------------------------------+
> > > >> | Marcel Telka   e-mail:   [email protected]  |
> > > >> |                homepage: http://telka.sk/ |
> > > >> |                jabber:   [email protected] |
> > > >> +-------------------------------------------+
> > > >>
> > > >>
> > > >> -------------------------------------------
> > > >> illumos-discuss
> > > >> Archives: https://www.listbox.com/member/archive/182180/=now
> > > >> RSS Feed:
> > > >> https://www.listbox.com/member/archive/rss/182180/26912960-6f721d7b
> > > >> Modify Your Subscription: https://www.listbox.com/member/?&;
> > > >> Powered by Listbox: http://www.listbox.com
> > > >>
> > > >
> > > > *illumos-discuss* | Archives
> > > > <https://www.listbox.com/member/archive/182180/=now>
> > > > <https://www.listbox.com/member/archive/rss/182180/21878145-f6040e21>
> > |
> > > > Modify
> > > > <https://www.listbox.com/member/?&;>
> > > > Your Subscription <http://www.listbox.com>
> > > >
> > >
> > >
> > >
> > > -------------------------------------------
> > > illumos-discuss
> > > Archives: https://www.listbox.com/member/archive/182180/=now
> > > RSS Feed:
> > https://www.listbox.com/member/archive/rss/182180/23046997-5a38a7d8
> > > Modify Your Subscription:
> > https://www.listbox.com/member/?&;
> > > Powered by Listbox: http://www.listbox.com
> >
> > --
> > +-------------------------------------------+
> > | Marcel Telka   e-mail:   [email protected]  |
> > |                homepage: http://telka.sk/ |
> > |                jabber:   [email protected] |
> > +-------------------------------------------+
> >

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   [email protected]  |
|                homepage: http://telka.sk/ |
|                jabber:   [email protected] |
+-------------------------------------------+


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to