Thread View: news.software.nntp
24 messages
24 total messages
Started by James Brister
Sat, 13 Apr 1996 00:00
ANNOUNCE: ISC innfeed 0.7 (beta)
Author: James Brister
Date: Sat, 13 Apr 1996 00:00
Date: Sat, 13 Apr 1996 00:00
32 lines
1612 bytes
1612 bytes
A new feeder called innfeed is now available to anyone who wants to beta test it. You can find it in: ftp.vix.com:/pri/brister/innfeed-0.7.tar.gz This feeder will eventually be the main feeder used by INN. See below for features. I will be off the net for the next two week (sorry), but still send me any bug reports, portabiliry issues etc. I'll look at them all when I'm back online. From the README file: This is the beta test version 0.7 of the new INN feeder program `innfeed.' It is written in ANSI C. The features of it are: 1. Handles the STREAM extenstion to NNTP. 2. Will open multiple connections to the remote host to parallel feed. 3. Will handle multiple remote hosts. 4. Will tear down idle connections. 5. Runs as a channel/funnel feed from INN. 6. Will stop issuing CHECK commands and go straight to TAKETHIS if the remote responds affermatively to enough CHECKs. 7. It will go back to issuing CHECKs if enough TAKETHIS commands fail. James -- James Brister brister@vix.com
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Clayton O'Neill
Date: Sun, 14 Apr 1996 00:00
Date: Sun, 14 Apr 1996 00:00
35 lines
1921 bytes
1921 bytes
James Brister (brister@gw.home.vix.com) wrote:
: A new feeder called innfeed is now available to anyone who wants to beta
: test it. You can find it in:
: ftp.vix.com:/pri/brister/innfeed-0.7.tar.gz
Just a note, there is a version 0.7.1 that is supposed to fix some problems
with compatibility. However, it looks like it has at least one problem. It
appears as if the memory for the articles is not being freed because the
reference counts aren't decremented in some instances. Below is a quick fix
for this problem at least. However, I'd like to congratulate James on this.
It isn't ready for production use yet, but it looks like a big step in the
right direction.
--- innfeed-0.7.1/article.c Sat Apr 13 11:45:39 1996
+++ innfeed-0.7/article.c Sat Apr 13 23:59:06 1996
@@ -719,8 +719,10 @@
if (contents == NULL)
return false ;
- else if (article->nntpBuffers != NULL)
+ else if (article->nntpBuffers != NULL) {
+ delBuffer(contents);
return true ; /* already done */
+ }
--
-------------------------------------------------------------------------
Clayton O'Neill Business--> Premier One Inc
whatever@oneill.net clayton@premier.net
http://www.oneill.net <--Personal http://www.premier.net
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Andrew A. Vasilyev
Date: Mon, 15 Apr 1996 00:00
Date: Mon, 15 Apr 1996 00:00
14 lines
1082 bytes
1082 bytes
Clayton O'Neill (coneill@news.premier.net) wrote: > with compatibility. However, it looks like it has at least one problem. It Well, and another little problem exists: several macros (NEED_STRDUP, DO_NEED_TIME, DO_HAVE_UNIX_DOMAIN and many others) having the value 1 or 0 are checked in "#if defined()", not "#if macros", so the result is always true :(( And "die" reaction on all ASSERTS is excellent - wish the INN were written in such a way :)))) ______ ANDY
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Ollivier Robert
Date: Mon, 15 Apr 1996 00:00
Date: Mon, 15 Apr 1996 00:00
16 lines
1293 bytes
1293 bytes
In article <4kqrrk$arm@hunter.premier.net>, Clayton O'Neill <coneill@news.premier.net> wrote: > : ftp.vix.com:/pri/brister/innfeed-0.7.tar.gz > > Just a note, there is a version 0.7.1 that is supposed to fix some problems > with compatibility. However, it looks like it has at least one problem. It I got a second one: where is uio_maxiov.c ? I must have missed something but each time I try to "make check-maxiov" it bombs about uio_maxiov.o... -- Ollivier ROBERT -=-=- FreeBSD 2.x FAQ maintainer -=-=- roberto@freebsd.org -=-=-=-=-=- Support The Free UNIX Systems ! FreeBSD Linux NetBSD -=-=-=-=-=-
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Brian D Heaton
Date: Wed, 17 Apr 1996 00:00
Date: Wed, 17 Apr 1996 00:00
22 lines
1194 bytes
1194 bytes
All, I am running innfeed to a couple sites for testing. Does anyone have any information on innfeed's performance when the Qsize is increased from 10? I would like to set it somewhere in the 30-50 range. Any thoughts? Other than that it appears to be running fairly well... BDH brister@gw.home.vix.com (James Brister) wrote: >A new feeder called innfeed is now available to anyone who wants to beta >test it. You can find it in: > ftp.vix.com:/pri/brister/innfeed-0.7.tar.gz >This feeder will eventually be the main feeder used by INN. See below for >features.
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Joe Greco
Date: Thu, 18 Apr 1996 00:00
Date: Thu, 18 Apr 1996 00:00
24 lines
1736 bytes
1736 bytes
In news.software.nntp article <4ksu7q$8kh@news.demos.su>, andy@sf.demos.su (Andrew A. Vasilyev) wrote: :Clayton O'Neill (coneill@news.premier.net) wrote: :> with compatibility. However, it looks like it has at least one problem. It : : Well, and another little problem exists: several macros : (NEED_STRDUP, DO_NEED_TIME, DO_HAVE_UNIX_DOMAIN and many others) : having the value 1 or 0 are checked in "#if defined()", not : "#if macros", so the result is always true :(( : : And "die" reaction on all ASSERTS is excellent - wish the INN were : written in such a way :)))) Question: is anybody using innfeed to do any serious amount of feeding? I'm running full newsfeeds through it to about 6 or 7 different sites and it likes to die on various ASSERT's, rarely living more than 10 minutes at a time. Textbook configuration, pretty much... ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Mahesh Ramachandran
Date: Thu, 18 Apr 1996 00:00
Date: Thu, 18 Apr 1996 00:00
25 lines
1561 bytes
1561 bytes
In article <4l5i1l$n2g@brasil.moneng.mei.com>, jgreco@brasil.moneng.mei.com (Joe Greco) writes: |> Question: is anybody using innfeed to do any serious amount of feeding? I'm |> running full newsfeeds through it to about 6 or 7 different sites and it |> likes to die on various ASSERT's, rarely living more than 10 minutes at a |> time. Textbook configuration, pretty much... yeah, i've been trying to, but not with much luck. :( lotsa bugs problems bugs problems ... It seems to work well to some sites and keeps dying to others. btw, i'm not using the textbook configuration, since all feeds suffer and it feeds out nothing. btw, these are the errors it generates whenever innfeed dies: innfeed: host->statsId == 0 in file host.c line 555 innfeed: i == cxn->articleQTotal in file connection.c line 2800 i'm going to poke around for a solution. -rr
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Paul A Vixie
Date: Thu, 18 Apr 1996 00:00
Date: Thu, 18 Apr 1996 00:00
14 lines
1112 bytes
1112 bytes
>Question: is anybody using innfeed to do any serious amount of feeding? I'm >running full newsfeeds through it to about 6 or 7 different sites and it >likes to die on various ASSERT's, rarely living more than 10 minutes at a >time. Textbook configuration, pretty much... It's all we use here, two full feeds from systems that use innfeed, two outbound feeds using innfeed. What kind of system/OS do you have? -- Paul Vixie La Honda, CA "Illegitimibus non carborundum." <paul@vix.com> pacbell!vixie!paul
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Katsuhiro Kondou
Date: Fri, 19 Apr 1996 00:00
Date: Fri, 19 Apr 1996 00:00
23 lines
1288 bytes
1288 bytes
In article <4l5sl2$k26@huron.eel.ufl.edu>, rr@eel.ufl.edu (Mahesh Ramachandran) writes: } and it feeds out nothing. btw, these are the errors it generates whenever } innfeed dies: } } innfeed: host->statsId == 0 in file host.c line 555 } } innfeed: i == cxn->articleQTotal in file connection.c line 2800 In my case, I've got more other errors: innfeed: cxn->closing == false in file connection.c line 575 innfeed: h != NULL in file host.c line 858 } i'm going to poke around for a solution. So am I. -- Katsuhiro Kondou NEC Corporation, Tokyo JAPAN
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: michael butler
Date: Fri, 19 Apr 1996 00:00
Date: Fri, 19 Apr 1996 00:00
19 lines
1410 bytes
1410 bytes
Joe Greco (jgreco@brasil.moneng.mei.com) wrote: : Question: is anybody using innfeed to do any serious amount of feeding? : I'm running full newsfeeds through it to about 6 or 7 different sites and : it likes to die on various ASSERT's, rarely living more than 10 minutes at : a time. Textbook configuration, pretty much... I'm seeing the same thing with about 130,000 articles a day (no alt.* :-)). It seems to be a tad "fragile" when receiving an unexpected response from the remote server. Typically, anything running nntpd (with or without streaming patches) will throw it for a loop :-(. It does seem to be (almost) happy talking to an INN server, however, with only the occasional exception when a feed goes idle every now and again, michael
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Brian D Heaton
Date: Fri, 19 Apr 1996 00:00
Date: Fri, 19 Apr 1996 00:00
35 lines
1941 bytes
1941 bytes
Joe, Finally had to pull it out this afternoon. It was running under Sol2.4 on a SS20/96MB RAM/6GB Spool/spool,history,overview on seperate disks. I tried it feeding to sites at the end of DS1s from out core router. D/E sites were running unoff3. One site was Sol2.4/SS5 and the other was Linux-1.2.X on a Pentium system. The SS5 couldn't even close to keep up with the load. The Pentium was doing a better job, but even with 10 connections per site and 64 possible outstanding articles innfeed was spooling a backlog. I pulled it out this afternoon after it kept thrashing on articles that were no longer in the spool. I saw the dies on the ASSERTs too. BDH jgreco@brasil.moneng.mei.com (Joe Greco) wrote: >Question: is anybody using innfeed to do any serious amount of feeding? I'm >running full newsfeeds through it to about 6 or 7 different sites and it >likes to die on various ASSERT's, rarely living more than 10 minutes at a >time. Textbook configuration, pretty much... > >... Joe > >------------------------------------------------------------------------------- >Joe Greco - Systems Administrator jgreco@ns.sol.net >Solaria Public Access UNIX - Milwaukee, WI 414/546-7968
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: David Riley
Date: Fri, 19 Apr 1996 00:00
Date: Fri, 19 Apr 1996 00:00
16 lines
1362 bytes
1362 bytes
Paul A Vixie (vixie@vix.com) wrote: : It's all we use here, two full feeds from systems that use innfeed, : two outbound feeds using innfeed. What kind of system/OS do you have? We did some tests with it as well with single feeds it didn't work so well for us either. Mainly I did testing by trying to clear some normal innxmit backlog queue by using awk to add a feed name on the end. It would eventually die because of an assertion or segfault. There was a lot in innfeed's internal queue so I tried doing an innfeed -x but that continued to die. We're running Solaris 2.5 on Sparc 20. -- David Riley - University of Waterloo driley@direct.ca - Internet Direct (Vancouver, B.C.)
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Joe Greco
Date: Fri, 19 Apr 1996 00:00
Date: Fri, 19 Apr 1996 00:00
28 lines
2004 bytes
2004 bytes
In news.software.nntp article <VIXIE.96Apr18163859@wisdom.vix.com>, vixie@vix.com (Paul A Vixie) wrote: :>Question: is anybody using innfeed to do any serious amount of feeding? I'm :>running full newsfeeds through it to about 6 or 7 different sites and it :>likes to die on various ASSERT's, rarely living more than 10 minutes at a :>time. Textbook configuration, pretty much... : :It's all we use here, two full feeds from systems that use innfeed, :two outbound feeds using innfeed. What kind of system/OS do you have? Hi Paul, I'm currently running it on news.sol.net, a FreeBSD 2.1R-based P90 with 64MB of RAM and lotsa disks and multiple feeds. I deploy lots of test code on it, before running it on much larger systems such as spool.mu.edu (SS10, Solaris 2.3). If you need a test site where you can muck around with a poorly behaving innfeed, drop me a line, I am very familiar with code that works under some circumstances and doesn't under others, and I am sure I could provide a place for innfeed to be debugged a bit more :-) anything for a worthy cause. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Joe Greco
Date: Fri, 19 Apr 1996 00:00
Date: Fri, 19 Apr 1996 00:00
37 lines
1944 bytes
1944 bytes
In news.software.nntp article <4l5sl2$k26@huron.eel.ufl.edu>, rr@eel.ufl.edu (Mahesh Ramachandran) wrote: :yeah, i've been trying to, but not with much luck. :( :lotsa bugs problems bugs problems ... :It seems to work well to some sites and keeps dying to others. :btw, i'm not using the textbook configuration, since all feeds suffer :and it feeds out nothing. Hi, Okay, then, you've done what I am considering. I don't like the idea of a monolithic news feeding process anyways, and I run at least one box where that _will_ not cut it. What did you do? It appeared to me that the easiest solution would be to set up multiple configuration files, but that's ugly... :btw, these are the errors it generates whenever :innfeed dies: : :innfeed: host->statsId == 0 in file host.c line 555 : :innfeed: i == cxn->articleQTotal in file connection.c line 2800 : :i'm going to poke around for a solution. I'm also seeing a lot of innfeed: bufferByteCount < (1024 * 1024 * 10) in file buffer.c line 417 errors. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Mahesh Ramachandran
Date: Fri, 19 Apr 1996 00:00
Date: Fri, 19 Apr 1996 00:00
55 lines
3011 bytes
3011 bytes
In article <4l86gu$nsp@brasil.moneng.mei.com>, jgreco@brasil.moneng.mei.com (Joe Greco) writes: |> Okay, then, you've done what I am considering. I don't like the idea of a |> monolithic news feeding process anyways, and I run at least one box where |> that _will_ not cut it. What did you do? It appeared to me that the |> easiest solution would be to set up multiple configuration files, but that's |> ugly... the other thing is that on a machine where cpu is an issue and innd is running at a higher priority, a single innfeed doesn't get enough cpu. For now I am using multiple config files .. yeah it is ugly. :) with a single config file, multiple innfeeds seem to have locking problems. I think that could probably be fixed if the hostname and stuff could be given as a command line option and the config file was optional? |> innfeed: bufferByteCount < (1024 * 1024 * 10) in file buffer.c line 417 i haven't been seeing these. i've been looking at the log files and noticed that innfeed was dying only for sites that support streams. It was exiting as soon after it printed "remote supports mode stream". And only for some of the streaming sites. I disabled mode stream in connection.c and it has been working great to all sites since yesterday, just using its parallel feeding feature. it would be nice to have mode stream as an option. :) another problem i noticed was that some old innfeed processes seem to hang around in case of a newsfeeds file reload. And those of ya'll who want to try using this on hp-ux .. here are some changes i had to make from the defaults. in sysconfig.h: #define FDCOUNT_SYSCONF 1 (from innd config) #define DO_USE_UNION_WAIT 0 #define MAX_IOVEC 16 (this is defined as MAXIOV in hp-ux) #define LOG_PERROR 0 in Makefile: for HP's cc compiler use "-O -Aa -D_HPUX_SOURCE +e". I think that is the same as -Ae -- extended ANSI. added the following in misc.c .. it wasn't defined anywhere. extern int h_errno; hp-ux doesn't have LOG_NEWS, so change to LOG_LOCAL[0-7] in endpoint.c and main.c. This should probably be a sysconfig option? anyone else tried it on hp-ux? ideas to get streams working right for all sites would be good. :). btw, i'm running about 25-30 feeds. thx -rr
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Steve Bauer
Date: Sat, 20 Apr 1996 00:00
Date: Sat, 20 Apr 1996 00:00
64 lines
2993 bytes
2993 bytes
Mahesh Ramachandran (rr@eel.ufl.edu) wrote:
:
: In article <4l5i1l$n2g@brasil.moneng.mei.com>, jgreco@brasil.moneng.mei.com (Joe Greco) writes:
: |> Question: is anybody using innfeed to do any serious amount of feeding? I'm
: |> running full newsfeeds through it to about 6 or 7 different sites and it
: |> likes to die on various ASSERT's, rarely living more than 10 minutes at a
: |> time. Textbook configuration, pretty much...
:
: yeah, i've been trying to, but not with much luck. :(
: lotsa bugs problems bugs problems ...
: It seems to work well to some sites and keeps dying to others.
: btw, i'm not using the textbook configuration, since all feeds suffer
: and it feeds out nothing. btw, these are the errors it generates whenever
: innfeed dies:
:
: innfeed: host->statsId == 0 in file host.c line 555
:
: innfeed: i == cxn->articleQTotal in file connection.c line 2800
:
: i'm going to poke around for a solution.
:
: -rr
:
:
I think I have found the problem that is causing the assert at line 555 in
host.c. It is caused by the site having started spooling before the
connection is setup. Thus the site has a host->statsId set since the
spooling code sets up a stats logging callback also.
Here is the little patch that I used to fix this race problem:
*** host.c.orig Thu Apr 18 22:49:19 1996
--- host.c Thu Apr 18 22:53:12 1996
***************
*** 552,559 ****
syslog (LOG_NOTICE, REMOTE_NO_STREAMING, host->peerName);
/* set up the callback for statistics logging. */
! ASSERT (host->statsId == 0) ;
! host->statsId = prepareSleep (hostStatsTimeoutCbk, statsPeriod, host) ;
host->remoteStreams = doesStreaming ;
--- 552,563 ----
syslog (LOG_NOTICE, REMOTE_NO_STREAMING, host->peerName);
/* set up the callback for statistics logging. */
! /* If we have started spooling then there was a timeout set for stats
! Collection already*/
! if(host->spoolTime == 0) {
! ASSERT (host->statsId == 0) ;
! host->statsId = prepareSleep (hostStatsTimeoutCbk, statsPeriod, host) ;
! }
host->remoteStreams = doesStreaming ;
Steve Bauer
Systems Programmer
SDSM&T
Rapid City,SD 57701
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Joseph T. Klein
Date: Sun, 21 Apr 1996 00:00
Date: Sun, 21 Apr 1996 00:00
46 lines
2315 bytes
2315 bytes
In article <4lbkgl$h01@news.sdsmt.edu>,
Steve Bauer <sbauer@krypton.sdsmt.edu> wrote:
>I think I have found the problem that is causing the assert at line 555 in
>host.c. It is caused by the site having started spooling before the
>connection is setup. Thus the site has a host->statsId set since the
>spooling code sets up a stats logging callback also.
>
>Here is the little patch that I used to fix this race problem:
>*** host.c.orig Thu Apr 18 22:49:19 1996
>--- host.c Thu Apr 18 22:53:12 1996
>***************
>*** 552,559 ****
> syslog (LOG_NOTICE, REMOTE_NO_STREAMING, host->peerName);
>
> /* set up the callback for statistics logging. */
>! ASSERT (host->statsId == 0) ;
>! host->statsId = prepareSleep (hostStatsTimeoutCbk, statsPeriod, host) ;
>
> host->remoteStreams = doesStreaming ;
>
>--- 552,563 ----
> syslog (LOG_NOTICE, REMOTE_NO_STREAMING, host->peerName);
>
> /* set up the callback for statistics logging. */
>! /* If we have started spooling then there was a timeout set for stats
>! Collection already*/
>! if(host->spoolTime == 0) {
>! ASSERT (host->statsId == 0) ;
>! host->statsId = prepareSleep (hostStatsTimeoutCbk, statsPeriod, host) ;
>! }
>
> host->remoteStreams = doesStreaming ;
I'm running 0.7.1 with Clayton O'Neils's patch and this patch ... seems to
run OK. It is spiiting up from some type of memory leak now and then.
Compiled with gcc -O2 -m486 on BSDOS 2.0.1
OK now how do I change my innlog.awk to get a nice report?
I must have been blind! I could not see the script in the tar file.
--
jtk@nap.net
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: C. Ewen MacMillan
Date: Mon, 22 Apr 1996 00:00
Date: Mon, 22 Apr 1996 00:00
39 lines
2043 bytes
2043 bytes
In article <4l36pp$nta@nimitz.fibr.net>, Brian D Heaton <bheaton@fibrcom.com> wrote: >All, > > I am running innfeed to a couple sites for testing. Does anyone have >any information on innfeed's performance when the Qsize is increased >from 10? I would like to set it somewhere in the 30-50 range. Any >thoughts? Other than that it appears to be running fairly well... > BDH > > Although I have spotted a lot of the errors reported further along in this thread in our logs, and it is apparent that the feeder is sometimes exiting, we are seeing a fair improvement in feed rate. One of our outgoing feeds is sometimes on an empty pipe (T-1) and at these times I can see the feeder taking full advantage of the extra room. My only real concerns so far are that some of the files seem to continue to grow forever, and that perhaps after an exit and restart, the feeder might be restarting from the top of a SITE.input file, and hence attempting to resend a large number of articles already successfully fed SITE. I would probably want most of all better control over parameters such as the maximum backlog a site can have, and perhaps to use signal handling to rotate/truncate some of the larger files. -- C. Ewen MacMillan Vox : (312)850-0181 Chief of Operations, Email: ilixi@tezcat.net Tezcatlipoca, Inc. Whois: CEM
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: James Brister
Date: Mon, 22 Apr 1996 00:00
Date: Mon, 22 Apr 1996 00:00
15 lines
1235 bytes
1235 bytes
Joseph T. Klein (jtk@inap.net) wrote: : OK now how do I change my innlog.awk to get a nice report? : I must have been blind! I could not see the script in the tar file. You're not blind. I haven't taken the time yet to fix innlog.awk (I figured a working innfeed was more important). Thanks to everyone for beating on innfeed so thouroughly. I will be back to work next week and will work on merging in the bug reports/fixes people have sent in. James -- James Brister brister@vix.com
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: James Brister
Date: Mon, 22 Apr 1996 00:00
Date: Mon, 22 Apr 1996 00:00
23 lines
1504 bytes
1504 bytes
: My only real concerns so far are that some of the files seem : to continue to grow forever, and that perhaps after an exit : and restart, the feeder might be restarting from the top : of a SITE.input file, and hence attempting to resend a large : number of articles already successfully fed SITE. It shouldn't. A checkpoint is taken every 30 seconds of the pointer poistion in the input files so that on restart only (up to) the last 30 seconds worth will be repeated. : I would probably want most of all better control over parameters : such as the maximum backlog a site can have, and perhaps to use : signal handling to rotate/truncate some of the larger files. I will be revamping the config file a bit later after the basic bugs have been worked out. James -- James Brister brister@vix.com
Re: ANNOUNCE: ISC innfeed 0.7 (beta) another patch
Author: Steve Bauer
Date: Tue, 23 Apr 1996 00:00
Date: Tue, 23 Apr 1996 00:00
198 lines
7385 bytes
7385 bytes
Joseph T. Klein (jtk@inap.net) wrote:
: In article <4lbkgl$h01@news.sdsmt.edu>,
: Steve Bauer <sbauer@krypton.sdsmt.edu> wrote:
: >I think I have found the problem that is causing the assert at line 555 in
: >host.c. It is caused by the site having started spooling before the
: >connection is setup. Thus the site has a host->statsId set since the
: >spooling code sets up a stats logging callback also.
: >
: >Here is the little patch that I used to fix this race problem:
: >*** host.c.orig Thu Apr 18 22:49:19 1996
: >--- host.c Thu Apr 18 22:53:12 1996
: >***************
: >*** 552,559 ****
: > syslog (LOG_NOTICE, REMOTE_NO_STREAMING, host->peerName);
: >
: > /* set up the callback for statistics logging. */
: >! ASSERT (host->statsId == 0) ;
: >! host->statsId = prepareSleep (hostStatsTimeoutCbk, statsPeriod, host) ;
: >
: > host->remoteStreams = doesStreaming ;
: >
: >--- 552,563 ----
: > syslog (LOG_NOTICE, REMOTE_NO_STREAMING, host->peerName);
: >
: > /* set up the callback for statistics logging. */
: >! /* If we have started spooling then there was a timeout set for stats
: >! Collection already*/
: >! if(host->spoolTime == 0) {
: >! ASSERT (host->statsId == 0) ;
: >! host->statsId = prepareSleep (hostStatsTimeoutCbk, statsPeriod, host) ;
: >! }
: >
: > host->remoteStreams = doesStreaming ;
:
: I'm running 0.7.1 with Clayton O'Neils's patch and this patch ... seems to
: run OK. It is spiiting up from some type of memory leak now and then.
:
: Compiled with gcc -O2 -m486 on BSDOS 2.0.1
:
: OK now how do I change my innlog.awk to get a nice report?
: I must have been blind! I could not see the script in the tar file.
: --
: jtk@nap.net
:
:
Here is another patch for innfeed. This one patches the connection.c file
to fix the problem where it was exiting do to an assertion at line 2800
which is where i is not equal to cxn->articleQTotal. Since I have patched
my innfeed with this, I have not had these errors anymore. This patch
also adds a little more debugging information in the function validate
connection.
Steve Bauer
SDSM&T
501 E. Saint Joseph Street
Rapid City, SD 57701-3995
*** connection.c.orig Tue Apr 23 07:06:32 1996
--- connection.c Tue Apr 23 07:04:24 1996
***************
*** 1268,1284 ****
ASSERT (cxn->myEp != NULL) ;
checkBuffer = buildCheckBuffer (cxn) ; /* may be null if none to issue */
!
! writeArray = buildTakethisBuffers (cxn,checkBuffer) ; /* may be null */
!
! /* If not null, then writeArray will have checkBuffer (if it wasn't NULL)
! in the first spot and the takethis buffers after that. */
! if (writeArray)
{
- prepareWrite (cxn->myEp, writeArray, checkWriteDone, cxn) ;
- rval = true ;
-
/* Now shift the articles to their new queues. */
for (p = cxn->checkRespHead ; p != NULL && p->next != NULL ; p = p->next)
/* nada--finding end of queue*/ ;
--- 1268,1283 ----
ASSERT (cxn->myEp != NULL) ;
checkBuffer = buildCheckBuffer (cxn) ; /* may be null if none to issue */
!
! if(checkBuffer != NULL)
{
/* Now shift the articles to their new queues. */
+ /* This has to be done before buildTakethisBuffers so that
+ if one is missing it is added to the right queue instead of
+ being added to the list of articles that are waiting for a
+ check to return.
+ Steve Bauer
+ */
for (p = cxn->checkRespHead ; p != NULL && p->next != NULL ; p = p->next)
/* nada--finding end of queue*/ ;
***************
*** 1287,1293 ****
else
p->next = cxn->checkHead ;
cxn->checkHead = NULL ;
!
for (p = cxn->takeRespHead ; p != NULL && p->next != NULL ; p = p->next)
/* nada--finding end of queue */ ;
--- 1286,1302 ----
else
p->next = cxn->checkHead ;
cxn->checkHead = NULL ;
! }
!
! writeArray = buildTakethisBuffers (cxn,checkBuffer) ; /* may be null */
!
! /* If not null, then writeArray will have checkBuffer (if it wasn't NULL)
! in the first spot and the takethis buffers after that. */
! if (writeArray != NULL)
! {
! prepareWrite (cxn->myEp, writeArray, checkWriteDone, cxn) ;
! rval = true ;
! /* Now shift the articles to their new queues. */
for (p = cxn->takeRespHead ; p != NULL && p->next != NULL ; p = p->next)
/* nada--finding end of queue */ ;
***************
*** 1466,1472 ****
cxn->checksIssued++ ;
hostArticleOffered (cxn->myHost,cxn) ;
}
!
p = p->next ;
}
}
--- 1475,1482 ----
cxn->checksIssued++ ;
hostArticleOffered (cxn->myHost,cxn) ;
}
! /* Need to move q along or we will delete the whole list*/
! q = p;
p = p->next ;
}
}
***************
*** 2781,2802 ****
{
u_int i ;
ArtHolder p ;
!
i = 0 ;
/* count up the articles the Connection has and make sure that matches. */
for (p = cxn->takeHead ; p != NULL ; p = p->next)
i++ ;
for (p = cxn->takeRespHead ; p != NULL ; p = p->next)
i++ ;
for (p = cxn->checkHead ; p != NULL ; p = p->next)
i++ ;
for (p = cxn->checkRespHead ; p != NULL ; p = p->next)
i++ ;
!
ASSERT (i == cxn->articleQTotal) ;
if (cxn->timeCon != 0) /* connection wasn't reset */
--- 2791,2820 ----
{
u_int i ;
ArtHolder p ;
! int old=0;
i = 0 ;
/* count up the articles the Connection has and make sure that matches. */
for (p = cxn->takeHead ; p != NULL ; p = p->next)
i++ ;
+ dprintf(1,"takeHead = %d\n",i);
+ old=i;
for (p = cxn->takeRespHead ; p != NULL ; p = p->next)
i++ ;
+ dprintf(1,"takeRespHead = %d \n",i-old);
+ old=i;
for (p = cxn->checkHead ; p != NULL ; p = p->next)
i++ ;
+ dprintf(1,"checkHead = %d\n",i-old);
+ old=i;
+
for (p = cxn->checkRespHead ; p != NULL ; p = p->next)
i++ ;
! dprintf(1,"checkRespHead = %d\n",i-old);
! dprintf(1,"%s: i=%d QTotal=%d\n",hostPeerName(cxn->myHost),i,cxn->articleQTotal);
ASSERT (i == cxn->articleQTotal) ;
if (cxn->timeCon != 0) /* connection wasn't reset */
Re: ANNOUNCE: ISC innfeed 0.7 (beta) another patch
Author: Joseph T. Klein
Date: Tue, 23 Apr 1996 00:00
Date: Tue, 23 Apr 1996 00:00
15 lines
1463 bytes
1463 bytes
I've implimented Steve Bauers connection.c patch (along with the others noted in my last posting). Inndfeed now operates for much longer and is moving more articles. So this makes my version 0.7.1pl3 beta. I'll post the errors I get at the end of the day. NOTE: It is picky about getting unexpected messages from remote sites I ended up moving the troublesome sites to another type of feed. -- /*Joseph T. Klein * "... not specialized to any area of application." * NAP.NET, LLC * * phone +1 414 747-8747 * -- Brian Kernigan & Dennis Ritchie * http://www.nap.net */ The C Programming Language
Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Author: Fran�ois Vrana
Date: Tue, 23 Apr 1996 00:00
Date: Tue, 23 Apr 1996 00:00
28 lines
1427 bytes
1427 bytes
In article <4kth5l$f5f@sidhe.hsc.fr>, roberto@keltia.freenix.fr (Ollivier Robert) wrote: >In article <4kqrrk$arm@hunter.premier.net>, >Clayton O'Neill <coneill@news.premier.net> wrote: >> : ftp.vix.com:/pri/brister/innfeed-0.7.tar.gz >> >> Just a note, there is a version 0.7.1 that is supposed to fix some problems >> with compatibility. However, it looks like it has at least one problem. It > >I got a second one: where is uio_maxiov.c ? > >I must have missed something but each time I try to "make check-maxiov" it >bombs about uio_maxiov.o... ..groan..... i'm not a C-programmer, not an experienced one at any rate, so if anyone would know of a version of innfeed that compiles cleanly on linux, i'd be really thankful! :-) thanks, fran�ois fv@interax.net
Re: ANNOUNCE: ISC innfeed 0.7 (beta) another patch for streaming
Author: Steve Bauer
Date: Fri, 26 Apr 1996 00:00
Date: Fri, 26 Apr 1996 00:00
45 lines
2321 bytes
2321 bytes
Joseph T. Klein (jtk@inap.net) wrote:
: I've implimented Steve Bauers connection.c patch (along with the others
: noted in my last posting). Inndfeed now operates for much longer and is
: moving more articles. So this makes my version 0.7.1pl3 beta.
:
: I'll post the errors I get at the end of the day.
:
: NOTE: It is picky about getting unexpected messages from remote sites
: I ended up moving the troublesome sites to another type of feed.
: --
: /*Joseph T. Klein * "... not specialized to any area of application."
: * NAP.NET, LLC *
: * phone +1 414 747-8747 * -- Brian Kernigan & Dennis Ritchie
: * http://www.nap.net */ The C Programming Language
Here is a patch to connection.c that fixes the problem with it asserting
because of the fact that streaming is false, yet maxCheck is > 1.
The problem was that the maxCheck should be reset to 1 when the connection
is reset.
Steve Bauer
Systems Programmer
SDSM&T
501 East Saint Joseph Street
Rapid City, SD 57701
*** connection.c.old Thu Apr 25 23:15:18 1996
--- connection.c Thu Apr 25 23:16:03 1996
***************
*** 959,964 ****
--- 959,966 ----
cxn->closing = false ;
cxn->doesStreaming = false ; /* who knows, next time around maybe... */
+ /* This needs to be set back to the init value of one since we aren't streaming*/
+ cxn->maxCheck=1;
cxn->needsChecks = true ;
cxn->flushing = false ;
cxn->periodicClose = false ;
~
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