🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Gary Palmer Sun, 13 Jul 1997 00:00
innfeed 0.10.4 (also, wheres the mail list gone to?)
#19236
Author: Gary Palmer
Date: Sun, 13 Jul 1997 00:00
45 lines
3019 bytes
Hi,

I sent a mail to the innfeed-users mailing list on Thursday, and I
never got a copy back (I am, or was, subscribed). I mailed James on
Friday and haven't heard back either, so I'm not sure what is going on
@vix.com, however, this is getting rather annoying and I'm wondering
if anyone here has any clues.

I'm running the innfeed 0.10.4 `release' from ftp.hub.org, and having
it crash REGULARLY. The only way I've managed to keep it sorta running
is by using a slightly hacked ctlinnfeed script (which reads from the
.pid file instead of the .status file).

The log shows:

Sat Jul 12 02:07:50 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862
Sat Jul 12 03:44:10 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862
Sat Jul 12 04:19:36 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862
Sat Jul 12 12:27:54 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862
Sat Jul 12 14:10:12 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862
Sat Jul 12 14:19:14 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862
Sat Jul 12 15:35:04 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862
Sat Jul 12 18:33:12 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862
Sat Jul 12 21:07:24 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862
Sat Jul 12 21:25:45 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862

I searched the list archives, and found someone else mention a similar
problem but couldn't find a patch (if one exists) to stop this rather
irritating event.

This is on a FreeBSD 2.2.x box, but a friend with a linux box is
having it happen too. My current suspicion is that it's to do with the
fact I recently added a feed to news.maxwell.syr.edu (a NNTPRelay
box), and since my friend also feeds that box, our problems are
related. (I definately did NOT get the assertions 10+ times a day
before I started feeding maxwell)

Anyone have any clues?

Thanks,

Gary

Re: innfeed 0.10.4 (also, wheres the mail list gone to?)
#19222
Author: Mark Hittinger
Date: Sat, 12 Jul 1997 00:00
39 lines
2337 bytes
gpalmer@SPAM.webspan.net (Gary Palmer) writes:
>I'm running the innfeed 0.10.4 `release' from ftp.hub.org, and having
>it crash REGULARLY. The only way I've managed to keep it sorta running
>is by using a slightly hacked ctlinnfeed script (which reads from the
>.pid file instead of the .status file).
>The log shows:
>Sat Jul 12 02:07:50 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862

I also got this error when feeding a VMS site :-) - I temporarily started
feeding them via innxmit :-)  I think there is some sort of bug where you
get a defer for the last article in a batch.

We don't seem to be able to use 0.10.1.3 or 0.10.1.4 on our heavy hitter
machines with 90+ peers.  I'm currently chasing what I believe to be
a file descriptor leak bug in Don's logging-and-spooling patch.  I want
to use his performance patches because they make such a stunning
difference in article-per-second rates.

I also run into the problems when feeding broken news sites.  I need to
spend some time and make up a patch to have innfeed back off trying to
send an article to a site which is responding with 502, 501, 503, and
480 errors for each article.  :-)  Innfeed tends to not want to take
no for an answer - I'd like to give it an easy-off mode so that it
tries every hour instead - I think that would increase APS rates to
properly configured sites.

We do need a cleaned up cut of innfeed, I am stuck in a position of
picking through the various tarballs and extracting specific patches
for insertion into our own "gold" verison (i.e. doesn't dump or wig
out with no fd's left).

Regards,

Mark Hittinger
Netcom/Dallas
bugs@freebsd.netcom.com

Re: innfeed 0.10.4 (also, wheres the mail list gone to?)
#19303
Author: Don Lewis
Date: Tue, 15 Jul 1997 00:00
30 lines
1770 bytes
In article <5q9br6$8sl@news.webspan.net>,
Gary Palmer <gpalmer@SPAM.webspan.net> wrote:
>Hi,
>
>I sent a mail to the innfeed-users mailing list on Thursday, and I
>never got a copy back (I am, or was, subscribed). I mailed James on
>Friday and haven't heard back either, so I'm not sure what is going on
>@vix.com, however, this is getting rather annoying and I'm wondering
>if anyone here has any clues.

I wish I knew ...

>I'm running the innfeed 0.10.4 `release' from ftp.hub.org, and having
>it crash REGULARLY. The only way I've managed to keep it sorta running
>is by using a slightly hacked ctlinnfeed script (which reads from the
>.pid file instead of the .status file).
>
>The log shows:
>
>Sat Jul 12 02:07:50 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862

This sounds somewhat familiar (and is a sanity check that I added).
Can you get a stack trace from the core file?
-- 
Don "Truck" Lewis                                       TDK Semiconductor
Internet: Don.Lewis@tsc.tdk.com                         138 New Mohawk Road
Phone: +1 916 478-8284       FAX: +1 916 478-8251       Nevada City, CA  95959

Re: innfeed 0.10.4 (also, wheres the mail list gone to?)
#19330
Author: Don Lewis
Date: Wed, 16 Jul 1997 00:00
85 lines
3844 bytes
In article <5qhcib$1fs@news.webspan.net>,
Gary Palmer <gpalmer@SPAM.webspan.net> wrote:
} 
} >>The log shows:
} >>
} >>Sat Jul 12 02:07:50 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862
} 
} > This sounds somewhat familiar (and is a sanity check that I added).
} > Can you get a stack trace from the core file?
} 
} It seems that GDB is somewhat broken on my news box right now (why I
} don't know). I think it's:
} 
} #2  0x173bd in die (fmt=0x3f21 "") at misc.c:238
} #3  0x9e2a in initReadBlockedTimeout (cxn=0x41600) at connection.c:3862
} #4  0x7012 in commandWriteDone (e=0x30e80, i=IoDone, b=0x5e3a0, d=0x41600)
}     at connection.c:1978
} #5  0xc067 in Run () at endpoint.c:843
} #6  0x1579b in main (argc=3, argv=0xefbfde08) at main.c:518

Yup.  I've seen something similar to this one before and sent out a patch.
I don't know why I didn't see the exact assertion statement in my mail
archives, though.  I think it was tripping over another assertion in the
bug report I saw.  I'm only running 0.10.1.3 + a bunch of patches, most
of which are in 0.10.1.4.  Try this patch:

--- connection.c	Wed May 21 19:18:29 1997
+++ ../../../innfeed/connection.c	Fri May 16 16:45:12 1997
@@ -1947,11 +1947,6 @@
 
   clearTimer (cxn->writeBlockedTimerId) ;
 
-  /* Some(?) hosts return the 439 response even before we're done
-     sending, so don't go idle until here */
-  if (cxn->state == cxnFeedingS && cxn->articleQTotal == 0)
-    cxnIdle (cxn) ;
-
   if (i != IoDone)
     {
       errno = endPointErrno (e) ;
@@ -1966,16 +1961,24 @@
         }
       else
         {
+	  /* XXX - so cxnSleep() doesn't die in VALIDATE_CONNECTION () */
           deferAllArticles (cxn) ;
           cxnIdle (cxn) ;
+
           cxnSleep (cxn) ;
         }
     }
   else
     {
-      /* The command set has been sent, so start the response timer.
-         XXX - we'd like finer grained control */
-      initReadBlockedTimeout (cxn) ;
+      /* Some(?) hosts return the 439 response even before we're done
+         sending, so don't go idle until here */
+      if (cxn->state == cxnFeedingS && cxn->articleQTotal == 0)
+        cxnIdle (cxn) ;
+      else
+        /* The command set has been sent, so start the response timer.
+           XXX - we'd like finer grained control */
+        initReadBlockedTimeout (cxn) ;
+
       if ( cxn->doesStreaming )
         doSomeWrites (cxn) ;        /* pump data as fast as possible */
                                     /* XXX - will clear the read timeout */


There's a similar problem for non-streaming feeds that I haven't gotten
around to patching.

} This is a FreeBSD 2.2.x system btw, although I'm hearing similar
} reports from a friend running Linux.

It's unrelated to your OS.  It's triggered by servers that return a 439
response to a TAKETHIS before the entire article has been sent.
-- 
Don "Truck" Lewis                                       TDK Semiconductor
Internet: Don.Lewis@tsc.tdk.com                         138 New Mohawk Road
Phone: +1 916 478-8284       FAX: +1 916 478-8251       Nevada City, CA  95959

Re: innfeed 0.10.4 (also, wheres the mail list gone to?)
#19347
Author: Gary Palmer
Date: Wed, 16 Jul 1997 00:00
44 lines
2331 bytes
[ remove spam to reply ]

In article <5qh23s$33c$1@news.gv.tsc.tdk.com>,
	gdonl@tsc.tdk.com (Don Lewis) writes:
> In article <5q9br6$8sl@news.webspan.net>,
> Gary Palmer <gpalmer@SPAM.webspan.net> wrote:
>>I sent a mail to the innfeed-users mailing list on Thursday, and I
>>never got a copy back (I am, or was, subscribed). I mailed James on
>>Friday and haven't heard back either, so I'm not sure what is going on
>>@vix.com, however, this is getting rather annoying and I'm wondering
>>if anyone here has any clues.

> I wish I knew ...

Me too. I sent an e-mail to majordomo@vix.com, and didn't get anything
back, not even a postmaster mail. seems that Paul Vixie's e-mail
system has a massive alias for /dev/null right now.

>>The log shows:
>>
>>Sat Jul 12 02:07:50 1997 innfeed-0.10.4: assertion -- cxn->state != cxnIdleS -- failed in file connection.c line 3862

> This sounds somewhat familiar (and is a sanity check that I added).
> Can you get a stack trace from the core file?

It seems that GDB is somewhat broken on my news box right now (why I
don't know). I think it's:

#2  0x173bd in die (fmt=0x3f21 "") at misc.c:238
#3  0x9e2a in initReadBlockedTimeout (cxn=0x41600) at connection.c:3862
#4  0x7012 in commandWriteDone (e=0x30e80, i=IoDone, b=0x5e3a0, d=0x41600)
    at connection.c:1978
#5  0xc067 in Run () at endpoint.c:843
#6  0x1579b in main (argc=3, argv=0xefbfde08) at main.c:518

This is a FreeBSD 2.2.x system btw, although I'm hearing similar
reports from a friend running Linux.

Thanks Don,

Gary

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads