🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Anne Kilarjian Fri, 27 Sep 1996 00:00
Bad articles hanging my incoming feed
#11200
Author: Anne Kilarjian
Date: Fri, 27 Sep 1996 00:00
25 lines
1474 bytes
I'm not receiving my main incoming feed because of bad articles 
in the queue - I got on the machine (the machine trying to send
me articles, I have r/w access to the news files) and looked at 
the send-nntp log and I keep seeing errors of this sort:

Can't read "alt/sys/pc-clone/gateway2000/2815", Error 0
Nothing sent -- leaving batchfile alone.

I look at the article in question and it is always the HTML version
of the WWW FAQ in whats probably one long run-on line, so I'm not
amazed  that INN doesn't like it - I can delete the article from my
out.going file but so far it just runs up against another one when
it tries to launch send-nntp to me again -

Help!  They have 15 Megs. queued up for me and growing by the
minute - I recall there was at one time a patch to make INN not
choke on these bad articles - anyone have any info, or any other
ideas?

Thanks
Anne Kilarjian
SUNY Stony Brook

Re: Bad articles hanging my incoming feed
#11256
Author: Duncan Gibson
Date: Mon, 30 Sep 1996 00:00
91 lines
3178 bytes
Anne Kilarjian <anne@cs.sunysb.edu> wrote:
>I'm not receiving my main incoming feed because of bad articles 
>in the queue - I got on the machine (the machine trying to send
>me articles, I have r/w access to the news files) and looked at 
>the send-nntp log and I keep seeing errors of this sort:
>
>Can't read "alt/sys/pc-clone/gateway2000/2815", Error 0
>Nothing sent -- leaving batchfile alone.
>
>I look at the article in question and it is always the HTML version
>of the WWW FAQ in whats probably one long run-on line, so I'm not
>amazed  that INN doesn't like it - I can delete the article from my
>out.going file but so far it just runs up against another one when
>it tries to launch send-nntp to me again -
>
>Help!  They have 15 Megs. queued up for me and growing by the
>minute - I recall there was at one time a patch to make INN not
>choke on these bad articles - anyone have any info, or any other
>ideas?

I had a similar problem two weeks ago except that we are running
CNews and NNTP rather than INN and I have no real access to our
feeding machine. I was able to extract the offending message-ID
out of our nntp logs and generate a dummy article locally which
pretended to be this article. Therefore the feed machine doesn't
try to send it again. I now have this script running on a 5-minute
cycle. I append the script below, in case it's of any use to you.

Cheers
Duncan

This is my article, not my employer's, with my opinions and my disclaimer!
--
Duncan Gibson, ESTEC/YCV, Postbus 299, 2200AG Noordwijk, The Netherlands
Tel: +31 71 5654013   Fax: +31 71 5656142  Email: duncan@yc.estec.esa.nl


#!/bin/ksh
#

tmp=/tmp/drg.nn.$$ ; export tmp

grep "cpstdin: EOF before period on line by itself" ~news/nntplog \
	| sed 's/^.*</</' \
	| sed 's/>.*$/>/' \
	> $tmp

if [ ! -s $tmp ]
then
	rm -f $tmp
	exit 0
fi

msgID=`tail -1 $tmp`

if [ "x$msgID" = "x" ]
then
	rm -f $tmp
	exit 0
fi

grep -q "$msgID" ~news/history

case $? in
	0)	# $msgID already in history
		exit 0
		;;
	*)	# $msgID not yet processed
		;;
esac

(
	echo Newsgroups: local.test
	echo Path: news
	echo From: news@your.domain.name \(news automaton\)
	echo Subject: testing - please ignore
	echo Message-ID: $msgID
	echo Date: `date +"%a, %d %b %Y %X %Z"`
	echo Distribution: local
	echo Organization: Your Organization, Inc.
	echo 
	echo testing - please ignore
	echo generating dummy article to insert Message-ID in history
) > /news/spool/in.coming/0.8431273570.t

/news/lib/input/newsrun 0

rm -f $tmp

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