From: Didier Verna <didier.verna@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: Chasing down a network problem
Date: Thu, 27 Dec 2012 18:31:34 +0100 [thread overview]
Message-ID: <m2a9szbdvt.fsf@didierverna.net> (raw)
In-Reply-To: <87d2xwmsr2.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 26 Dec 2012 22:02:41 +0100")
Lars Magne Ingebrigtsen wrote:
> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> I've added a lot more debugging code now, but it's very difficult to
>> reproduce the bug.
>
> D'oh!
>
> There's a condition-case around the loop with this as the quit
> condition:
>
> (quit
> ;; The user hit C-g while we were waiting: kill the process, in case
> ;; it's a gnutls-cli process that's stuck (tends to happen a lot behind
> ;; NAT routers).
> (delete-process process)
>
> Which explains why the process is dead.
>
> Never mind...
FWIW, I have a lot of problems with mail and news server connections
that seem to hang up all the time (with both GNU Emacs and XEmacs). To
the point that I have added this to my gnusrc:
(defcustom dvl-gnus-kill-server-connections t
"Whether to kill Gnus server connections immediately after use."
:type 'boolean)
;; This function is hooked into gnus-get-new-news-hook and
;; gnus-summary-exit-hook in order to prevent hangs.
(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")))
This makes things a little better, like, 50%...
--
ELS 2013, June 3/4, Madrid, Spain: http://els2013.european-lisp-symposium.org
Scientific site: http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com
prev parent reply other threads:[~2012-12-27 17:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-26 21:01 Chasing down a network problem Lars Ingebrigtsen
2012-12-26 21:02 ` Lars Ingebrigtsen
2012-12-27 17:31 ` Didier Verna [this message]
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=m2a9szbdvt.fsf@didierverna.net \
--to=didier.verna@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.