You are not logged in.

#1 2014-05-05 13:32:15

Ambrevar
Member
Registered: 2011-08-14
Posts: 212
Website

Mutt hangs after ~5 minutes.

Since I've updated mutt recently, I'm experiencing a very annoying bug: mutt hangs when the editor returns after writing an email for more than ~5 minutes.
I've tried using different editors, did not help.
I'm usually using mutt-sidebar, but the stock package from the official repo behaves the same way. Did not try downgrading though.
There are no warning/error messages whatsoever.

Any clue?

Last edited by Ambrevar (2014-05-05 13:57:01)

Offline

#2 2014-05-05 13:56:35

Ambrevar
Member
Registered: 2011-08-14
Posts: 212
Website

Re: Mutt hangs after ~5 minutes.

Err, actually it hangs after ~5 minutes even when no editor was fired. So if I just launch Mutt and do nothing for 5 minutes, the UI hangs.

Offline

#3 2014-05-05 18:16:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Mutt hangs after ~5 minutes.

What is it doing? How do you fetch your mail: through mutt or an external program? If the former, is it your mail server that is at issue?

What debugging have you tried? mutt can be built with +DEBUG and a log level. Or you could run a backtrace. Narrowing down your issue is the first step.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2014-05-05 18:22:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,545
Website

Re: Mutt hangs after ~5 minutes.

A simple test would be to check your muttrc for timeouts/time values of 5 minutes.  Change them to 10 ... or to 1, and see if the behavior follows.  This would not help with a solution, but it would pinpoint which periodic process is causing the hang.  But this also depends on the information requested above: if mutt is checking for new mail every 5 minutes (highly likely) then the tool/program/process that is used for checking for new mail is the target.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2014-05-05 18:55:52

kastagir
Member
From: Mielec, PL
Registered: 2011-06-04
Posts: 7

Re: Mutt hangs after ~5 minutes.

I had similar problem with mutt and gmail. Don't remember details (it was 3 or 4 years ago) but I think decreasing 'imap_keepalive' helped (I've set to 300 seconds). That or it could be 'timeout'.

Offline

#6 2014-05-06 06:49:45

Ambrevar
Member
Registered: 2011-08-14
Posts: 212
Website

Re: Mutt hangs after ~5 minutes.

I am using some Gmail accounts, plus embedded IMAP+SMTP support. Changing imap_keepalive from 300 to 30 seems to solve this issue. A week ago it was perfectly fine, so I wonder what happened in the meantime.

Sorry for not investigating this a little further before posting, I have not much time at the moment. Beside, I really need mutt and this bug makes it unusable. I'll try to have a look at the debug details in a while.

Offline

#7 2014-05-06 07:13:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Mutt hangs after ~5 minutes.

mutt's IMAP support is not the best. It's simpler and less painful to use another purpose-built tool like OfflineIMAP or mbsync.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB