From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45235 Path: main.gmane.org!not-for-mail From: Matthias Andree Newsgroups: gmane.emacs.gnus.general Subject: Re: server disconnect leads to "article not found" Date: Thu, 13 Jun 2002 02:37:46 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1023929477 15847 127.0.0.1 (13 Jun 2002 00:51:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Jun 2002 00:51:17 +0000 (UTC) Cc: The Gnus Mailing List Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17IIpX-00047U-00 for ; Thu, 13 Jun 2002 02:51:15 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17IIcs-0006dw-00; Wed, 12 Jun 2002 19:38:10 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 12 Jun 2002 19:38:28 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id TAA23936 for ; Wed, 12 Jun 2002 19:38:15 -0500 (CDT) Original-Received: (qmail 24814 invoked by alias); 13 Jun 2002 00:37:52 -0000 Original-Received: (qmail 24809 invoked from network); 13 Jun 2002 00:37:51 -0000 Original-Received: from p50876a07.dip.t-dialin.net (HELO merlin.emma.line.org) (postfix@80.135.106.7) by gnus.org with SMTP; 13 Jun 2002 00:37:51 -0000 Original-Received: by merlin.emma.line.org (Postfix, from userid 500) id 915E11EACE; Thu, 13 Jun 2002 02:37:46 +0200 (CEST) Original-To: David S Goldberg In-Reply-To: (David S Goldberg's message of "Wed, 12 Jun 2002 13:30:25 -0400") Original-Lines: 141 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45235 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45235 David S Goldberg writes: > I've seen this with other nntp servers (verizon and newsguy). What > happens to me is a little different, I think, but may be related to > the same issue. > > 1: I start reading news > 2: One of the kids or my wife needs attention > 3: In the interim the connection to the nntp server times out > 4: I come back and try to read the next article ; it is bogusly marked > deleted > 5: I try to go to the next next article, gnus realizes the connection > is gone, reestablishes it and properly finds that article. Ok, I now have a full NNTP trace an can say what has happened. I'm not attaching it in full, a commented excerpt is below. 1 - enter a group 2 - read an article 3 - write a follow, which takes me longer than the timeout of my NNTP server 4 - to post, gnus connects, sends MODE READER, POST, the article, receives 240 OK 5 - I then want to read another article of that group, Gnus sends GROUP, which lets the server crash (it's buggy), so Gnus gets EOF in response to the GROUP command -- at this time, Gnus claims the article was expired or deleted. 6 - Reading a second article of the same group after the crash, Gnus reconnects and retrieves the article properly. So it looks as though Gnus would not recover properly from getting an EOF in reply to a GROUP command, at least not when it had to reconnect for a POST previously. (No, I haven't yet tracked the bug in my NNTP server... need to get some core file first.) ------------------------------- Here's the commented log excerpt of my NNTP session, with all CR stripped for RFC-977/1036/2822 compliance. The trailing + are an artifact of DJB's recordio (meaning "no LF here"), as are trailing blanks (meaning "LF was here") and are not part of the actual chatter: [Gnus is reading the reply to XOVER] 2002-06-13 02:11:06.681461500 11144 > 7191 Re: html editor Martin Klaffenboeck Thu, 13 Jun 2002 00:41:46 +0200 <86it4o5dcl.fsf@ns.kleinerdrache.org> <7a31ab73.0206101326.601597ab@posting.google.com> 5kik$47uvb$2@ID-21915.news.dfncis.de> 1574 22 Xref: merlin.emma.line.org de.comp.os.unix.bsd:7191 2002-06-13 02:11:06.681487500 11144 > . [Writing a followup, 5 mins after the last command, leafnode disconnects] 2002-06-13 02:16:06.723526500 11144 > [EOF] 2002-06-13 02:16:06.723532500 tcpserver: end 11144 status 0 2002-06-13 02:16:06.723535500 tcpserver: status: 0/40 [still writing, then, to post, Gnus reconnects:] 2002-06-13 02:19:20.434905500 tcpserver: status: 1/40 2002-06-13 02:19:20.435386500 tcpserver: pid 13802 from 192.168.0.1 2002-06-13 02:19:20.441795500 tcpserver: ok 13802 merlin.emma.line.org:192.168.0.1:119 merlin.emma.line.org:192.168.0.1:emma:35542 2002-06-13 02:19:20.499434500 13802 > 200 Leafnode NNTP daemon, version 2.0b8_ma10pre3.2 at merlin.emma.line.org 2002-06-13 02:19:20.500543500 13802 < MODE READER 2002-06-13 02:19:20.715260500 13802 > 200 Leafnode 2.0b8_ma10pre3.2, pleased to meet you! 2002-06-13 02:19:20.718026500 13802 < POST 2002-06-13 02:19:20.743655500 13802 > 340 Ok, recommended ID <8eo8ea.afd.ln@merlin.emma.line.org> 2002-06-13 02:19:20.745469500 13802 < Newsgroups: de.comp.os.unix.bsd 2002-06-13 02:19:20.745476500 13802 < Subject: Re: FreeBSD 4.6: Welche IDE Platten koennen TCQ 2002-06-13 02:19:20.745479500 13802 < References: <3D04AF13.360354C5@sbox.tu-graz.ac.at> 2002-06-13 02:19:20.745484500 13802 < + 2002-06-13 02:19:20.745488500 13802 < 2002-06-13 02:19:20.745489500 13802 < <8im7ea.qj.ln@mscu.best-eng.de> 2002-06-13 02:19:20.745492500 13802 < From: Matthias Andree 2002-06-13 02:19:20.745552500 13802 < Date: Thu, 13 Jun 2002 02:19:20 +0200 2002-06-13 02:19:20.745555500 13802 < Message-ID: 2002-06-13 02:19:20.745557500 13802 < Lines: 42 2002-06-13 02:19:20.745559500 13802 < User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i686-pc-linux-g+ 2002-06-13 02:19:20.745661500 13802 < nu) 2002-06-13 02:19:20.745663500 13802 < Cancel-Lock: sha1:Qr3IcUu/Aj6nMDy6XmrRljqLoTU= 2002-06-13 02:19:20.745666500 13802 < MIME-Version: 1.0 2002-06-13 02:19:20.745668500 13802 < Content-Type: text/plain; charset=iso-8859-15 2002-06-13 02:19:20.745671500 13802 < Content-Transfer-Encoding: 8bit 2002-06-13 02:19:20.745674500 13802 < [article body omitted] 2002-06-13 02:19:20.747906500 13802 < . 2002-06-13 02:19:20.918247500 13802 > 240 Article posted, now be patient [article posted, another article is to be displayed] 2002-06-13 02:19:27.040830500 13802 < GROUP de.comp.os.unix.bsd 2002-06-13 02:19:27.043279500 13802 > [EOF] 2002-06-13 02:19:27.043286500 tcpserver: end 13802 status 11 2002-06-13 02:19:27.043289500 tcpserver: status: 0/40 [the server has just crashed, Gnus has announced the article was gone] [save this log for later analysis] [Clicking on another article lets Gnus reconnect again] 2002-06-13 02:21:10.901983500 tcpserver: status: 1/40 2002-06-13 02:21:10.902438500 tcpserver: pid 14358 from 192.168.0.1 2002-06-13 02:21:10.908179500 tcpserver: ok 14358 merlin.emma.line.org:192.168.0.1:119 merlin.emma.line.org:192.168.0.1:emma:35544 2002-06-13 02:21:10.970009500 14358 > 200 Leafnode NNTP daemon, version 2.0b8_ma10pre3.2 at merlin.emma.line.org 2002-06-13 02:21:10.971141500 14358 < MODE READER 2002-06-13 02:21:11.164818500 14358 > 200 Leafnode 2.0b8_ma10pre3.2, pleased to meet you! 2002-06-13 02:21:11.166994500 14358 < GROUP de.comp.os.unix.bsd 2002-06-13 02:21:11.171458500 14358 > 211 2369 4611 7192 de.comp.os.unix.bsd group selected 2002-06-13 02:21:11.172486500 14358 < ARTICLE 7188 2002-06-13 02:21:11.189445500 14358 > 220 7188 <86elfc6uh0.fsf@ns.kleinerdrache.org> article retrieved - text follows 2002-06-13 02:21:11.190671500 14358 > Path: news.t-online.com!newsmm01.sul.t-online.com!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!static62-99-146-055.adsl.inode.AT!not-for-mail 2002-06-13 02:21:11.190681500 14358 > From: Martin Klaffenboeck 2002-06-13 02:21:11.190685500 14358 > Newsgroups: de.comp.os.unix.bsd 2002-06-13 02:21:11.190687500 14358 > Sub+ 2002-06-13 02:21:11.190689500 14358 > ject: Re: FreeBSD 4.6 Release 2002-06-13 02:21:11.190692500 14358 > Date: Wed, 12 Jun 2002 23:46:35 +0200 2002-06-13 02:21:11.190753500 14358 > Lines: 20 2002-06-13 02:21:11.190755500 14358 > Message-ID: <86elfc6uh0.fsf@ns.kleinerdrache.org> 2002-06-13 02:21:11.190758500 14358 > References: 2002-06-13 02:21:11.190761500 14358 > NNTP-Posting-Host: static62-99-146-055.adsl.inode.at (62.99.146.55) 2002-06-13 02:21:11.190764500 14358 > Mime-Version: 1+ 2002-06-13 02:21:11.190766500 14358 > .0 2002-06-13 02:21:11.190767500 14358 > Content-Type: text/plain; charset=iso-8859-1 2002-06-13 02:21:11.190786500 14358 > Content-Transfer-Encoding: 8bit 2002-06-13 02:21:11.190789500 14358 > X-Trace: fu-berlin.de 1023919061 5015991 62.99.146.55 (16 [35066]) 2002-06-13 02:21:11.190792500 14358 > X-Orig-Path: ns.kleinerdrache.org!nobody 2002-06-13 02:21:11.190795500 14358 > X-Url: http://create.kleinerdrache.org 2002-06-13 02:21:11.190797500 14358 > User-Agent: Gnus/5.0900+ 2002-06-13 02:21:11.190799500 14358 > 07 (Oort Gnus v0.07) XEmacs/21.5 (bok choi, 2002-06-13 02:21:11.190818500 14358 > i386-unknown-freebsd4.5) 2002-06-13 02:21:11.190821500 14358 > Cancel-Lock: sha1:H3iVvfgaKvw59WP9icnRCbmF/LE= 2002-06-13 02:21:11.190848500 14358 > Xref: merlin.emma.line.org de.comp.os.unix.bsd:7188 2002-06-13 02:21:11.190851500 14358 > [body snipped] 2002-06-13 02:21:11.191030500 14358 > . 2002-06-13 02:22:00.337190500 14358 > 6776 Re: apache PHP Permissions ? alex@lapp.tv (Alex Lapp) Mon, 27 May 2002 19:32:18 GMT <3cf28938.19545+ [rest stripped, everything is fine again] -- Matthias Andree