Gnus development mailing list
 help / color / mirror / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Joseph Mingrone <jrm@ftfl.ca>
Cc: ding@gnus.org
Subject: Re: Gnus frequently hangs at "nnimap read 0k from imap.gmail.com"
Date: Wed, 26 Jun 2013 08:33:16 +0200	[thread overview]
Message-ID: <87hagl5qkz.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <muxr4fqp6yu.fsf@uzeb.lrde.epita.fr> (Didier Verna's message of "Tue, 25 Jun 2013 17:04:25 +0200")

Didier Verna <didier@xemacs.org> writes:

Hi Didier,

>>> since about one or two months, Gnus frequently hangs when retrieving new
>>> mail from Gmail.
>> ...
>>> Is there anyone else encountering this problem?
>>
>> Yes, exactly as you describe.  I can tell almost immediately when
>> it's about to hang and I just do as you do: hit C-g, then g and it
>> works fine.
>
>   I've been getting this for much more than 2 months. It also depends
>   on where I am (at work, it doesn't happen; at home, all the
>   time).

For me, it happens at work, at home, and lately I've traveled to
Budapest where it also happened both from the hotel as well as the
university.

>   Something that helps a bit is this:
>
> ;; This function is hooked into gnus-get-new-news-hook and
> ;; gnus-summary-exit-hook in order to prevent hangs. Sometimes, Emacs doesn't
> ;; notice that the connection is lost.
> (defun dvl-gnus-kill-server-connections ()
>   "Kill Gnus server connections.
> See also the variable `dvl-gnus-kill-server-connections'."
>   (when dvl-gnus-kill-server-connections
>     (call-process "killall" nil nil nil "gnutls-cli")))

I've compiled emacs with gnutls support, so no external gnutls-cli will
be spawned when making a connection (I think).  At least

  % while true; do ps -e | grep gnutls; done

doesn't generate any output when closing and re-opening a connection
from the server buffer, or when checking for new mail with `g'.

Bye,
Tassilo



  reply	other threads:[~2013-06-26  6:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-25 13:18 Tassilo Horn
2013-06-25 14:31 ` Joseph Mingrone
2013-06-25 15:04   ` Didier Verna
2013-06-26  6:33     ` Tassilo Horn [this message]
2013-06-26  6:35       ` Noorul Islam K M
2013-07-15 13:31 ` Philipp Haselwarter
2013-07-15 16:27   ` Erik Colson
2013-07-16  7:36     ` Tassilo Horn
2013-07-16  8:25       ` Steinar Bang
2013-08-07 10:51 ` Tassilo Horn
2013-08-12 17:29   ` Lars Magne Ingebrigtsen
2013-08-20 13:01     ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hagl5qkz.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --cc=ding@gnus.org \
    --cc=jrm@ftfl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).