From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard! Date: Thu, 19 Nov 2015 17:36:34 -0700 Message-ID: <20151119173002889401548@bob.proulx.com> References: <83vb8x7m5a.fsf@gnu.org> <87egfly9s7.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1447979835 21324 80.91.229.3 (20 Nov 2015 00:37:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2015 00:37:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 20 01:36:50 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZzZh3-0005sV-Uj for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Nov 2015 01:36:50 +0100 Original-Received: from localhost ([::1]:44769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzZh3-0004Ra-De for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Nov 2015 19:36:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzZgs-0004RD-QG for help-gnu-emacs@gnu.org; Thu, 19 Nov 2015 19:36:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzZgq-0007ol-SN for help-gnu-emacs@gnu.org; Thu, 19 Nov 2015 19:36:38 -0500 Original-Received: from havoc.proulx.com ([96.88.95.61]:48084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzZgq-0007of-Mk for help-gnu-emacs@gnu.org; Thu, 19 Nov 2015 19:36:36 -0500 Original-Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id 36879D19 for ; Thu, 19 Nov 2015 17:36:35 -0700 (MST) Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id C465121899 for ; Thu, 19 Nov 2015 17:36:34 -0700 (MST) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id A6D832DC41; Thu, 19 Nov 2015 17:36:34 -0700 (MST) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87egfly9s7.fsf@kuiper.lan.informatimago.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 96.88.95.61 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108156 Archived-At: Pascal J. Bourguignon wrote: > Alexander Shukaev writes: > > In this particular case, I'm talking about Linux and directories > > mounted from network. > > Yeah, right. > > This freezes unix, not emacs. You might prefer to access remote files > using tramp. I want to emphasize this. If you are accessing files over NFS and for whatever reason the NFS server goes away this causes the NFS client in the local kernel to wait. The "freeze" you are seeing is a freeze in the NFS client and not Emacs. The problem is in the kernel not emacs. NFS client is implemented in the kernel. When it locks up there is absolutely nothing an application can do to unlock the kernel. This has been a plague on NFS forever. Problems with the NFS client are the one thing that may require the workstation to be rebooted. Because if it were an application in userspace one could kill and restart it. But because NFS is implemented in the kernel the only way to kill and restart the kernel is to reboot. The only way to win is not to play. Which is what Pascal suggests with using emacs tramp to avoid nfs client and instead use ssh or other to access those files. Because tramp operates entirely in userspace it can't lock up the same way. Bob P.S. Emacs has been rock solid for me for the last decade. I can't remember the last time I experienced an emacs crash. Bugs in behavior? Sure. But no crashes.