From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Emacs Hangs on Filesystem Operations on Stale NFS Date: Mon, 11 Jun 2018 13:50:50 +0200 Message-ID: References: <1727545582523435cab149c2bc857b40@alexander.shukaev.name> <288488e642ec1f2ea0d1d15ab5dfe43b@alexander.shukaev.name> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1528717764 14002 195.159.176.226 (11 Jun 2018 11:49:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 11 Jun 2018 11:49:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: emacs-devel@gnu.org To: Alexander Shukaev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 11 13:49:20 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSLK3-0003ZD-Qf for ged-emacs-devel@m.gmane.org; Mon, 11 Jun 2018 13:49:19 +0200 Original-Received: from localhost ([::1]:47870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSLMA-00081b-Tx for ged-emacs-devel@m.gmane.org; Mon, 11 Jun 2018 07:51:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSLLc-00081S-Eu for emacs-devel@gnu.org; Mon, 11 Jun 2018 07:50:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSLLZ-00005p-C9 for emacs-devel@gnu.org; Mon, 11 Jun 2018 07:50:56 -0400 Original-Received: from mx2.suse.de ([195.135.220.15]:44006) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fSLLZ-00004v-5T for emacs-devel@gnu.org; Mon, 11 Jun 2018 07:50:53 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Original-Received: from relay2.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 6656BAD00; Mon, 11 Jun 2018 11:50:51 +0000 (UTC) X-Yow: .. I have a VISION! It's a RANCID double-FISHWICH on an ENRICHED BUN!! In-Reply-To: <288488e642ec1f2ea0d1d15ab5dfe43b@alexander.shukaev.name> (Alexander Shukaev's message of "Mon, 11 Jun 2018 13:05:15 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-Received-From: 195.135.220.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226192 Archived-At: On Jun 11 2018, Alexander Shukaev wrote: > On 2018-06-11 13:01, Andreas Schwab wrote: >> On Jun 11 2018, Alexander Shukaev wrote: >> >>> I initiated a discussion back in 2015 [1] about fragility of Emacs in >>> terms of filesystem operations on stale NFS. No solution actually came >>> out of this discussion. I still find this issue very disruptive. Yet >>> another example would be `recentf-cleanup' which is in my case >>> triggered >>> on Emacs start up, when the file comes from stale NFS, the >>> corresponding >>> `file-readable-p' down the stack will hang indefinitely, and there >>> would >>> be no way to unfreeze it apart from issuing 'kill -9' to that Emacs >>> instance. Don't you people find it unacceptable for the daily usage? >> >> How is that a bug in Emacs if you have stale NFS mounts? >> >> Andreas. > > I didn't find a word "bug" in that quote. I'd rather call it a robustness > enhancement. By the way, I guess you just don't realize how easy it is to > run into that situation on daily basis. Is it? Looks like you have an unreliable NFS server, but that's hardly Emacs' problem. I have no problem with $HOME on NFS. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."