unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: Determining whether a TCP connection is up
Date: Tue, 06 Aug 2013 11:59:12 +0200	[thread overview]
Message-ID: <m3eha7nnrj.fsf@exodia.verona.se> (raw)
In-Reply-To: <87zjsvxkur.fsf@dex.adm.naquadah.org> (Julien Danjou's message of "Tue, 06 Aug 2013 10:51:56 +0200")

Julien Danjou <julien@danjou.info> writes:

> Did someone take a look at how other IMAP clients handles such
> situation?
>
> Weirdly enough, Gnus is the only one to show such issues, whereas I
> can't recall ever having this problem in mutt nor seeing it in Evolution
> or Thunderbird. And I don't believe in magic.

I used to have this problem a lot. nowadays I just remote my Emacs
entirely, with x2go, so I dont have the problem anymore.

When I did have it I noticed some things:
- Running a local caching proxy dns helped a bit, but not entirely
- I could trick emacs into understanding the connection was gone, by:
  - killing connection
  - noticing which sockets were hanging with netstat
  - making new trick interfaces with the same IP:s as the hanging remote

This used to work, but was tedious.

I notice the same sort of issues with NFS mounts also. There are various
flags for NFS mounts that supposedly help, but not for me. The Linux
kernel network stack doesnt seem designed with mobile networking in
mind.

So, to summarize, x2go was the best thing I did in a long time :) (not
that x2go is flawless, either)

-- 
Joakim Verona



  reply	other threads:[~2013-08-06  9:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-03 12:30 Determining whether a TCP connection is up Lars Magne Ingebrigtsen
2013-08-03 14:09 ` Paul Eggert
2013-08-03 16:01 ` Julien Danjou
2013-08-05  2:12   ` Lars Magne Ingebrigtsen
2013-08-05  2:33     ` chad
2013-08-05  2:37       ` Lars Magne Ingebrigtsen
2013-08-05 10:34     ` Julien Danjou
2013-08-05 14:40       ` Stefan Monnier
2013-08-05 15:23         ` Thierry Volpiatto
2013-08-05 15:51         ` Julien Danjou
2013-08-05 17:55       ` Lars Magne Ingebrigtsen
2013-08-06  8:51         ` Julien Danjou
2013-08-06  9:59           ` joakim [this message]
2013-08-06 13:36           ` Lars Magne Ingebrigtsen
2013-08-06 21:32             ` Stefan Monnier
2013-08-12 17:09               ` Lars Magne Ingebrigtsen
2013-08-13  1:52                 ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m3eha7nnrj.fsf@exodia.verona.se \
    --to=joakim@verona.se \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).