Thread View: news.software.nntp
1 messages
1 total messages
Started by Bettina Fink
Tue, 01 Jul 1997 00:00
Some errlog questions
Author: Bettina Fink
Date: Tue, 01 Jul 1997 00:00
Date: Tue, 01 Jul 1997 00:00
112 lines
4658 bytes
4658 bytes
Hi,
last weekend I set up innfeed-0.10.1 on my server (Linux 2.0.29,
no_atime patch, Dual PPro 200, 144 MB RAM, 9 GB Raid-5, INN-1.5.1),
it really works fine.
But I got some output from news.daily:
Error log:
/usr/lib/news/bin/startinnfeed: setrlimit(RLIMIT_NOFILE, RLIM_INFINITY):
Operation not permitted
I solved this by changing in startinnfeed.c
if (setrlimit(RLIMIT_NOFILE, &rl) == -1)
(void)fprintf(stderr, "%s: setrlimit(RLIMIT_NOFILE, RLIM_INFINITY): %s\n",
*av, strerror (errno));
to
if (setrlimit(RLIMIT_NOFILE, &rl) == -1);
#if 0
(void)fprintf(stderr, "%s: setrlimit(RLIMIT_NOFILE, RLIM_INFINITY): %s\n",
*av, strerror (errno));
#endif
I got no errors anymore after changing this, but I'd like to know,
*why* this errors occured and, if someone had the same problem, how
he solved it.
startinnfeed is:
-r-sr-x--- 1 root news 13894 Jun 30 02:38 startinnfeed*
The second problem is also solved (hope so), but I'd like to know
more about it and I know, that I am not the only one, who had it.
It was very awful, my uucp downlinks lost tons of articles because
of batching problems.
From errlog:
batcher buzz.mayn.de skipping "/var/spool/news/ne..." too long
batcher dianoia.mayn.de skipping "/var/spool/..." too long
batcher heim.franken.de skipping "/v..." too long
batcher mgnkatze.franken.de skipping "/var/spoo..." too long
batcher octav.mayn.de skipping "/var/spool/new..." too long
batcher oz.franken.de skipping "/var/spool/news/de/admin/news/groups/3..." too long
batcher rufus.mayn.de skipping "/var/sp..." too long
batcher wenzel.mayn.de skipping "/var/..." too long
and so on.
The problem were lines like these in the out.going files:
/var/spool/news/de/comp/os/linux/x/8627 18/var/spool/news/de/alt/admin/11126 1757
/var/spool/news/alt/binaries/pictures/er/var/spool/news/control/cancel/2752990 930
/var/spool/news/alt/binaries/pictures/erot/var/spool/news/control/cancel/2759460 862
We thought, that there were newlines missing between two article lines in
the out.going files and that buffchan.c might be the root of all evil, but
that was incorrect.
After patching our buffchan to monitor all his action, we realized, that
there were up to 100 (!) articles missing each error line and that the two
article lines, which were merged together in out.going, just marked the
upper and lower end of the gap.
We patched the sendbatch script because it seems to be a communication
problem between buffchan and batcher:
sendbatch sends a "ctlinnd flush" for a site to INN, which sends it to
the buffchan. There is no direct communication between buffchan and
batcher. The INN only answers the batcher, that he has send the flush
to buffchan. The buffchan only answers INN, that he has _received_ the
flush, but not when he is _ready_ with flushing and writing data on
disk. The batcher waits 30 seconds (-t30) for the INN (!) to respond
to the flush command and then he just takes the out.going file, no
matter if buffchan has written out his data on disk or not.
So far, so awful, that was our interpretation of what was going on.
We patched the sendbatch script (if someone is interested to see the
hack, just mail me), no errors occured anymore, the feedback from
our uucp sites is positive, no articles seem to be missing any longer.
But I am not _really_ sure, that everything is absolutly okay (just
a bad feeling), so I ask here for some assistance.
Dejanews told me, that someone had the same problem as me:
| Subject: Kreonet Daily Usenet report
| From: news@news.kreonet.re.kr (news)
| Date: 1995/11/10
| Message-Id: <199511102105.GAA01468@news.kreonet.re.kr>
| Newsgroups: han.news.stats
| Error log:
| batcher xpat1 skipping "uk/announce/572..." too long
| batcher xpat1 skipping "z-netz/fundgrube/b..." too long
| batcher xpat1 skipping "sci..." too long
Maybe someone can tell me something more about this batcher problem
and how to fix this really correct.
Thanks in advance,
Bettina Fink
--
alt.sex.fetish.linux Torvald me.
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