🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6736

Re: ANNOUNCE: ISC innfeed 0.7 (beta)

#6736
From: Mahesh Ramachandran
Date: Fri, 19 Apr 1996 00:00
55 lines
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


Technical Details
Message-ID: <4l8mf6$b7d@huron.eel.ufl.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <4kn70a$eiq@gw.home.vix.com> <4ksu7q$8kh@news.demos.su> <4l5i1l$n2g@brasil.moneng.mei.com> <4l5sl2$k26@huron.eel.ufl.edu> <4l86gu$nsp@brasil.moneng.mei.com>

Show Full Headers
Complete Article Headers
Message-ID: <4l8mf6$b7d@huron.eel.ufl.edu>
Subject: Re: ANNOUNCE: ISC innfeed 0.7 (beta)
Date: Fri, 19 Apr 1996 00:00:00 +0000
From: rr@eel.ufl.edu (Mahesh Ramachandran)
References: <4kn70a$eiq@gw.home.vix.com> <4ksu7q$8kh@news.demos.su> <4l5i1l$n2g@brasil.moneng.mei.com> <4l5sl2$k26@huron.eel.ufl.edu> <4l86gu$nsp@brasil.moneng.mei.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 150364436
Organization: Electrical & Computer Engg., U. of Florida
Newsgroups: news.software.nntp