From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Slass Newsgroups: gmane.emacs.help Subject: gnus fails to open nntp server every other time Date: Sat, 05 Oct 2002 00:17:40 GMT Organization: AT&T Broadband Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033777337 32593 127.0.0.1 (5 Oct 2002 00:22:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 5 Oct 2002 00:22:17 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17xci0-0008TX-00 for ; Sat, 05 Oct 2002 02:22:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17xcgt-0002UY-00; Fri, 04 Oct 2002 20:21:07 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!HSNX.atgi.net!cyclone-sf.pbi.net!151.164.30.35!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!nntp2.aus1.giganews.com!nntp.giganews.com!wn12feed!wn11feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc02.POSTED!not-for-mail Original-Followup-To: gnu.emacs.gnus Original-Newsgroups: gnu.emacs.help,gnu.emacs.gnus,comp.emacs User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Lines: 159 Original-NNTP-Posting-Host: 12.228.27.239 Original-X-Complaints-To: abuse@attbi.com Original-X-Trace: sccrnsc02 1033777060 12.228.27.239 (Sat, 05 Oct 2002 00:17:40 GMT) Original-NNTP-Posting-Date: Sat, 05 Oct 2002 00:17:40 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:105730 gnu.emacs.gnus:61014 comp.emacs:75061 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2276 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2276 Hi: using gnus 5.9.0 on linux (RH 7.3 kernel 2.4.18-10) >From the group buffer, when I hit "G" to check for new news and mail, on odd-numbered tries, it succeeds, and even numbered tries, it fails. The difference is that on the failures, it doesn't try to connect to the news server -- I think gnus believes it's already connected. I've advised gnus-group-get-new-news to show existing buffers and do a netstat before running, and to put the output in the *Messages* buffer. It looks like for failures, netstat shows an established socket to the news server, and there's a leftover buffer: # Also, there's no message: Opening nntp server on netnews.attbi.com... Instead, it just jumps straight to: Reading active file from netnews.attbi.com via nntp... where the debugger starts. Anyone have any ideas on why this is happening, and how I can stop it? Thanks. -- Mike >From the *Messages* buffer: For failures: ------------------------------------------------------------ gnus-group-get-new-news diagnostics: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 192.168.1.2:1600 *:* LISTEN - tcp 0 0 *:32768 *:* LISTEN - tcp 0 0 eric:32769 *:* LISTEN - tcp 0 0 *:printer *:* LISTEN - tcp 0 0 eric:3110 *:* LISTEN - tcp 0 0 *:6502 *:* LISTEN - tcp 0 0 *:sunrpc *:* LISTEN - tcp 0 0 *:x11 *:* LISTEN - tcp 0 0 eric:3025 *:* LISTEN - tcp 0 0 *:ssh *:* LISTEN - tcp 0 0 *:https *:* LISTEN - tcp 0 0 192.168.1.2:32785 cascadia.drizzle.co:ssh ESTABLISHED - tcp 0 0 192.168.1.2:33744 netnews.attbi.com:nntp ESTABLISHED 3196/emacs tcp 0 0 eric:3025 eric:33747 TIME_WAIT - ( # # # # # # # # # # # # # # # # # # # # # # #) Reading active file from netnews.attbi.com via nntp... Loading debug...done Entering debugger... Debugger entered--Lisp error: (error "Selecting deleted buffer") nntp-retrieve-groups(("comp.emacs" "gnu.emacs.gnus" "gnu.emacs.sources" "gnu.emacs.help") "netnews.attbi.com") gnus-retrieve-groups(("comp.emacs" "gnu.emacs.gnus" "gnu.emacs.sources" "gnu.emacs.help") (nntp "netnews.attbi.com")) gnus-read-active-file-2(("comp.emacs" "gnu.emacs.gnus" "gnu.emacs.sources" "gnu.emacs.help") (nntp "netnews.attbi.com")) gnus-read-active-file-1((nntp "netnews.attbi.com") nil) gnus-read-active-file() ad-Orig-gnus-group-get-new-news(nil) (setq ad-return-value (ad-Orig-gnus-group-get-new-news arg)) (let (ad-return-value) (message "gnus-group-get-new-news diagnostics:\n%s\n%s" (shell-command-to-string "netstat -tap 2>/dev/null") (replace-regexp-in-string "#" "\n#" ...)) (setq ad-return-value (ad-Orig-gnus-group-get-new-news arg)) ad-return-value) gnus-group-get-new-news(nil) call-interactively(gnus-group-get-new-news) ------------------------------------------------------------ For successes: ------------------------------------------------------------ gnus-group-get-new-news diagnostics: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 192.168.1.2:1600 *:* LISTEN - tcp 0 0 *:32768 *:* LISTEN - tcp 0 0 eric:32769 *:* LISTEN - tcp 0 0 *:printer *:* LISTEN - tcp 0 0 eric:3110 *:* LISTEN - tcp 0 0 *:6502 *:* LISTEN - tcp 0 0 *:sunrpc *:* LISTEN - tcp 0 0 *:x11 *:* LISTEN - tcp 0 0 eric:3025 *:* LISTEN - tcp 0 0 *:ssh *:* LISTEN - tcp 0 0 *:https *:* LISTEN - tcp 0 0 192.168.1.2:32785 cascadia.drizzle.co:ssh ESTABLISHED - ( # # # # # # # # # # # # # # # # # # # # # # #) Opening nntp server on netnews.attbi.com... Reading active file from netnews.attbi.com via nntp... Reading active file via nnml... nnml: Reading incoming mail from pop... nnml: Reading incoming mail (no new mail)...done Reading active file via nnml...done Reading active file from archive via nnfolder...done Checking new news...done ------------------------------------------------------------Matches Active Internet connections (... -- Mike Slass