[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta b
From: |
Rasmus |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Hi,
Bob Proulx <bob@proulx.com> 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
- It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, Alexander Shukaev, 2015/11/19
- Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, Eli Zaretskii, 2015/11/19
- Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, Alexander Shukaev, 2015/11/19
- Message not available
- Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, Pascal J. Bourguignon, 2015/11/19
- Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, Bob Proulx, 2015/11/19
- Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!,
Rasmus <=
- Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, Xavier Maillard, 2015/11/22
- Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, Stefan Monnier, 2015/11/22
- Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, Xavier Maillard, 2015/11/23
- Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, Eli Zaretskii, 2015/11/22
- Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, Xavier Maillard, 2015/11/23
- Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, John Wiegley, 2015/11/23
- Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, MBR, 2015/11/22
- Message not available
- Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, Loris Bennett, 2015/11/20
- Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, Michael Albinus, 2015/11/20
Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!, Dmitry Gutov, 2015/11/19