From owner-freebsd-questions@freebsd.org Sat Sep 15 11:02:46 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED30510A399D for ; Sat, 15 Sep 2018 11:02:45 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay119.isp.belgacom.be (mailrelay119.isp.belgacom.be [195.238.20.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 534F889172; Sat, 15 Sep 2018 11:02:45 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3ABy45vBC3qOVL8C0OAHBwUyQJP3N1i/DPJgcQr6?= =?us-ascii?q?AfoPdwSPX7osbcNUDSrc9gkEXOFd2Cra4c1KyO6+jJYi8p2d65qncMcZhBBV?= =?us-ascii?q?cuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx?= =?us-ascii?q?7xKRR6JvjvGo7Vks+7y/2+94fcbglUhjexe69+IAmrpgjNq8cahpdvJLwswR?= =?us-ascii?q?XTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3?= =?us-ascii?q?sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Qi?= =?us-ascii?q?qp4bt1RxD0iScHLz85/3/Risxsl6JQvRatqwViz4LIfI2ZMfxzdb7fc9wHX2?= =?us-ascii?q?pMRshfWSxfDI2hbIUADeQBMulEoIfyvFYOsRmzCRWwCO/z1jNEmHn71rA63e?= =?us-ascii?q?Q7FgHG2RQtEcwLsnTQsd74KqASUeeuzKbWyDXMdfVW2Szg44XPbhAhoPOMXb?= =?us-ascii?q?ZrfMTR00kgCR3Kg0iNp4LrJT+V0f4Ns2eC4udmSOmhhWknqwRrrTiuwMchko?= =?us-ascii?q?jJh40OylHE7iV53Jg6JdijSEJhfdGkF55QuieHPIV1WsMvW2JltSQgxrAHuJ?= =?us-ascii?q?O3ZjUGxZYjyhLFdvCKc4iF7xT+X+iLOzh4nmhqeLeniha39kiv1/PzW9Gv0F?= =?us-ascii?q?ZPsipFit7Mtm0R1xDL6siIVP99/kC51DaMzQ/T7uBEIUUqmqrBLJ4t2KIwlp?= =?us-ascii?q?sRsUTHBCP5hEL2jKiNdko6/+in8eLnYq78qp+bLY90hRnyMqUomsOhHeQ1Kg?= =?us-ascii?q?sDUmqB9em91bDv51D1TbdOg/Esj6XUsJDXKdwepqGjAg9V1ogj6wy4DzejyN?= =?us-ascii?q?kYgXgHLFBBeB+cgYjpIU/BL+7jAveknlugijBrx+rJPrH5GJXCMmDDkKv9fb?= =?us-ascii?q?Z680Nc0g8zwspD6JJXDrEOPvfzV1T/tNzCEBA2LRe7w/36B9ln0YMeQ22PCL?= =?us-ascii?q?eDMKzOqV+I+v4vI+6UaY8bojbyNeYq6OX1jXAkgFMdZLSp0oUMaHCkH/RmJE?= =?us-ascii?q?OZYWH3j9cPC2cFoBQxQ/fxiFKfSzJTYGyyX61vrg08Xa6vC4bOQsiDjbGH1i?= =?us-ascii?q?qhEdUCaG1LDFqBC3jAcY+JQbELci3EZod7lzUPVrysTqcPzxyjnjTWjb19Ib?= =?us-ascii?q?n64Cod4K4E0JBe4OrImBQ78yc8W9ic0WWlYXt5k0kza3kxxq8p8h818UuKza?= =?us-ascii?q?Ut268QLtdU/f4cF15ibZM=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2A1AAAn5Zxb/5uzQldcGQEBAQEBAQE?= =?us-ascii?q?BAQEBAQcBAQEBAYFQgghlfyiMB1+LSgEBggwzAYcbgX+MfIF6LoRJAoNdIjQ?= =?us-ascii?q?YAQMBAQIBAQIBbBwMgjUkAYJfAQU6HCMQCxgJJQ8qHgYBEhuDB4IFC6hjhCw?= =?us-ascii?q?DhBaBQQWKf4IAg3YuhGiFbgKOIY1TTwmGPYlNIo8Li12KNDiBVU0wCIMnhgG?= =?us-ascii?q?KVD0wjn0BAQ?= X-IPAS-Result: =?us-ascii?q?A2A1AAAn5Zxb/5uzQldcGQEBAQEBAQEBAQEBAQcBAQEBA?= =?us-ascii?q?YFQgghlfyiMB1+LSgEBggwzAYcbgX+MfIF6LoRJAoNdIjQYAQMBAQIBAQIBb?= =?us-ascii?q?BwMgjUkAYJfAQU6HCMQCxgJJQ8qHgYBEhuDB4IFC6hjhCwDhBaBQQWKf4IAg?= =?us-ascii?q?3YuhGiFbgKOIY1TTwmGPYlNIo8Li12KNDiBVU0wCIMnhgGKVD0wjn0BAQ?= Received: from 155.179-66-87.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([87.66.179.155]) by relay.skynet.be with ESMTP; 15 Sep 2018 13:01:35 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id w8FB1XcF002218; Sat, 15 Sep 2018 13:01:34 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Sat, 15 Sep 2018 13:01:33 +0200 From: =?UTF-8?B?VMSzbA==?= Coosemans To: Daniel Feenberg , rmacklem@FreeBSD.org Cc: freebsd-questions@freebsd.org Subject: Re: Gnome and Firefox, lockd and NFS Message-ID: <20180915130133.70c66339@kalimero.tijl.coosemans.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Sep 2018 11:02:46 -0000 Forwarding to rmacklem, our NFS developer. On Thu, 13 Sep 2018 15:31:39 -0400 (EDT) Daniel Feenberg wrote: > We are using the NFS server on FreeBSD 10.3-RELEASE-p7 to serve home > directories to Linux SL7 (same as Centos7 and RH7) clients via NFSv3. > While this worked fine with SL6, we find that starting Firefox, Gnome or > Mate causes the client to hang with the message: > > nfs server XXX not responding, still trying > > and (for example) > > ~/.mozilla/firefox/XXX/.nfs00000000000XXXXXXXXX file stuck > > If one tries to remove the lock, the client responds: > > Cannot remove, Device or resource busy > > Furthermore, the server quickly stops serving *all* other clients also. If > we kill the client process, then the server recovers after a few minutes. > Our workaround has been to move the directories .local, .config and .dbus > in the home directory to an NFS partition that is mounting without > locking, but this seems inadequate as a permanent solution. > > Since the FreeBSD server stops responding to other clients, it seems it > must be a FreeBSD problem. Even if the Linux client (systemd?) is making > an improper request, it is inappropriate for FreeBSD to hang in response. > We also see this same result with Truenas and FreeNAS fileservers (which > are based on FreeBSD) but see https://redmine.ixsystems.com/issues/927 for > another report related to earlier clients. A Linux NFS server does not > display this problem. > > Daniel Feenberg > National Bureau of Economic Research