Gnus development mailing list
 help / color / mirror / Atom feed
From: Richard Riley <rileyrg@googlemail.com>
To: ding@gnus.org
Subject: Re: Gnus hanging
Date: Fri, 08 Jul 2011 14:54:15 +0200	[thread overview]
Message-ID: <kqvcvdkk5k.fsf@news.eternal-september.org> (raw)
In-Reply-To: <87pqllq8pe.fsf@yun.yagibdah.de>

lee <lee@yun.yagibdah.de> writes:

> Dave Abrahams <dave@boostpro.com> writes:
>
>> on Wed Jul 06 2011, Richard Riley <rileyrg-AT-googlemail.com> wrote:
>>
>>> I'm frequently on a wireless connection that fails. Gnus hangs if I do a
>>> "g" (or more accurately C-u 5 g) in the group buffer to get new headers
>>> if the link has gone down and come back up again - I assume because of
>>> non valid network stream handles or whatever. What would be the best way
>>> to ensure Gnus closes all network links first and reconnects prior to
>>> the refresh other than quitting or closing/opening from the server
>>> buffer?
>>
>> +1
>>
>> Long-standing issue for me, too.
>
> Trying to trace the problem, I've been watching connections with
> "netstat -t" and found that gnus hangs when the connection to the news
> server is closed.  Gnus reopens the connection and hangs.  I've modified
> the entry for the news server, adding `nntp-connection-timeout' for a
> timeout of 15 seconds:
>
> (add-to-list 'gnus-secondary-select-methods
> 	     '(nntp "news1.open-news-network.org"
> 		    (nntp-connection-timeout 15)))
>
> Because it takes two hours for the connection to time out, I haven't
> been able to see if it works yet.  If it doesn't work, an alternative

Simpy unplug the network or "sudo ifdown -a"?





  reply	other threads:[~2011-07-08 12:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-06 11:04 Richard Riley
2011-07-08 11:14 ` Dave Abrahams
2011-07-08 11:46   ` Antoine Levitt
2011-07-08 12:05   ` lee
2011-07-08 12:54     ` Richard Riley [this message]
2011-07-08 16:58       ` lee
2011-07-19 16:22         ` Lars Magne Ingebrigtsen
2011-07-12 17:43   ` Richard Riley
2011-07-13  1:15     ` lee
2011-07-19 16:20 ` Lars Magne Ingebrigtsen
2011-07-19 17:29   ` lee
2011-07-19 17:30     ` Lars Magne Ingebrigtsen
  -- strict thread matches above, loose matches on Subject: below --
1996-07-19  0:13 Gnus v5.2.37 is released Lars Magne Ingebrigtsen
1996-07-19 17:19 ` GNUS hanging Ralph Loader

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=kqvcvdkk5k.fsf@news.eternal-september.org \
    --to=rileyrg@googlemail.com \
    --cc=ding@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.
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).