If you're not running USE=vanilla, you can hit ctrl-c a couple of times.
It's not ideal, but should speed up the process of breaking the hang.

This is what I added for Gentoo:
https://sourceforge.net/p/gentoomuttpatches/code/ci/mutt-1.9/tree/gentoo/0012-reconnect-faster.patch

Fabian


On 08-04-2018 19:50:33 +0300, Consus wrote:
> Hi,
> 
> I have mutt connected to IMAPS server that hangs after waking up from
> hibernation. It seems that mutt is stuck on read:
> 
>       $ strace -fp $(pgrep mutt)
>       strace: Process 25074 attached
>       read(3, 
> 
>       $ ls -l /proc/25074/fd
>       total 0
>       lrwx------ 1 consus consus 64 Apr  4 09:50 0 -> /dev/pts/1
>       lrwx------ 1 consus consus 64 Apr  4 09:50 1 -> /dev/pts/1
>       lrwx------ 1 consus consus 64 Apr  4 09:50 2 -> /dev/pts/1
>       lrwx------ 1 consus consus 64 Apr  4 09:50 3 -> socket:[79931]
> 
>       $ lsof | grep 79931
>       mutt      25074       consus    3u     IPv4              79931      0t0 
>      TCP XX.XX.XX.XX:YYYY->imap.fastmail.com:imaps (ESTABLISHED)
> 
> Is there a way to prevent this?
> I'm running Mutt 1.9.4 (2018-02-28) on Linux 4.15.14-gentoo.

-- 
Fabian Groffen
Gentoo on a different level

Attachment: signature.asc
Description: PGP signature

Reply via email to