From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rasmus Newsgroups: gmane.emacs.help Subject: Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard! Date: Fri, 20 Nov 2015 11:49:51 +0100 Message-ID: <8737w13pyo.fsf@gmx.us> References: <83vb8x7m5a.fsf@gnu.org> <87egfly9s7.fsf@kuiper.lan.informatimago.com> <20151119173002889401548@bob.proulx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1448016644 10212 80.91.229.3 (20 Nov 2015 10:50:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2015 10:50:44 +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 11:50:30 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 1ZzjGu-00017U-10 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Nov 2015 11:50:28 +0100 Original-Received: from localhost ([::1]:46519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzjGt-0007Pd-Fm for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Nov 2015 05:50:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzjGe-0007Mi-GD for help-gnu-emacs@gnu.org; Fri, 20 Nov 2015 05:50:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzjGa-0007cO-Cd for help-gnu-emacs@gnu.org; Fri, 20 Nov 2015 05:50:12 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:46541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzjGa-0007c0-6F for help-gnu-emacs@gnu.org; Fri, 20 Nov 2015 05:50:08 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZzjGS-0000LS-Ny for help-gnu-emacs@gnu.org; Fri, 20 Nov 2015 11:50:00 +0100 Original-Received: from 62.80.108.15 ([62.80.108.15]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2015 11:50:00 +0100 Original-Received: from rasmus by 62.80.108.15 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2015 11:50:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 62.80.108.15 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUKFRJUbVlfi3YgQT2n 0Kvg/N5UophZjX8kV1c+lpjySPhsAAAACXBIWXMAAABIAAAASABGyWs+AAAB8ElEQVQ4y9VTwY7T QAydrDn02KiL6HGpirhOsJDCbQvJnV0yd5C6WfXIgWY50h5wj0ioyvwtz56kSKU/gKWm4/dsP4+d OJcsX8zcJbuuQ3N7Ac+qEELjLyQEtdt/amaVZoQGxzf4//CXgIQSU5fVoarDqWa2hMBVCDeoeeOy cDcS+bKaOvc23GXhHu7zZiSK5Urzwv2z8BGHK6QNxML06qZOUBivVFyb/4AGpkaMfRW5+d9CnYh6 JLJEvEKnn9VtVgNBmRHr9UP4pOInwuU5HpN4bNtKB1TlY0aR47ISY9z8XumApgPumNmxxAOoummq RSK8Z+eZWHrgcV1V73MbFrH35JlLLRVju26/mARAoAlHqePm2L5MG2HgxCwHI2IfN33COcUroSbv NlKwV4KoBA6il74X5gMcnyqh0Mk0ez4DQcTWEmyvP+iV/dx73MAnDWBS7nH2/FMgohpDAiuc8r1e kU38IHuSJKgPI7T2D/RDqXUjCPgEeNdGsTg/kKzDkvm2fezF69C0y0SQ80W3ffwVD1KqJKVSrBfZ da93Ty++d0+mmGbK9pLIbJdLuYW+rUGTSjsJz2WWdd1XqGMQRNiPI0+8Rwx5vXZaqbWLALg8rMZW qo2hJ6cEpdDh5RiAyfm3h1iDsnOCxsxz3P2H9gdT4qxCIzJxIQAAACV0RVh0ZGF0ZTpjcmVhdGUA MjAxMS0wNy0yMVQxNzoyNDo1NSswMjowMFwRps8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTEtMDct MjFUMTc6MjQ6NTUrMDI6MDAtTB5zAAAAAElFTkSuQmCC User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:Uip/1R3i31ud72lwMXOV/aSYpQE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:108162 Archived-At: Hi, Bob Proulx writes: > 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. Interesting write-up. Thanks. As an aside: I used to have this problem when I would connect to my NFS server at home, where I would add symlinks to ~ (e.g. ~/music/ -> /mnt/nas/music). When I’d put the laptop to sleep without disconnecting first and then waking it at some other place, my computer would not even be able to restart as I recall! I think I usually managed to recover by issuing something like, umount -fl /mnt/nas/music But it’s a few years back, so I might be looking at the wrong script... Rasmus -- A page of history is worth a volume of logic