🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Duncan Gibson Tue, 12 Nov 1996 00:00
C-news expire reports non-numeric in active file
#12255
Author: Duncan Gibson
Date: Tue, 12 Nov 1996 00:00
40 lines
2051 bytes

We are running C-news from November 94, patch level D, and have
recently started seeing mail messages which originate from the
expire being run by cron:

	Subject: news (urgent): possible expire problems

	/yc/news/lib/expire/upact: errors in active.tmp -- aborting
	line 169: "6.24848e+07" is non-numeric
	line 169: "0062484761" < "6.24848e+07"

I can tell from arbitron and the nntplogs that nobody is actually
reading the group in question (comp.mail.misc) at the moment, so I
have simply removed the articles in there are modified the active
file so that the high and low article numbers are back to something
small.

However, if this had been a group that everyone read then I would
have been a little stuck because their .newsrc files would all have
the old (high) article numbering and they would never see any new
articles under the new (low) numbering.

Has anyone else noticed this problem? How was it solved?

We will (eventually) move to the most recent version of C-news so
maybe this problem has been fixed, or we can use the upgrade to
reset all of the .newsrc files, but obviously this is likely to bite
again at some point.

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


Re: C-news expire reports non-numeric in active file
#12593
Author: Duncan Gibson
Date: Fri, 22 Nov 1996 00:00
54 lines
3171 bytes
Duncan Gibson <duncan@yc.estec.esa.nl> wrote:
DG> 	/yc/news/lib/expire/upact: errors in active.tmp -- aborting
DG> 	line 169: "6.24848e+07" is non-numeric
DG> 	line 169: "0062484761" < "6.24848e+07"

In article <e16p5t.967@bigred.inka.de>, Olaf Titz <olaf@bigred.inka.de> wrote:
OT> Most likely your awk is broken. (upact is based on an awk script.)
OT> Looks like one of the big numbers causes it to switch from integer to
OT> floating point format. The numbers are well below the 32-bit MAXINT so
OT> there is no real reason to do so. Possible remedy: install GNU awk.
OT> (Which operating system do you run?) Of course, floating point format
OT> is invalid for the numbers in the active file.

We have recently switched over from HPUX 9.05 to 10.01.

DG> reading the group in question (comp.mail.misc) at the moment, so I
DG> have simply removed the articles in there are modified the active
DG> file so that the high and low article numbers are back to something
DG> small.

OT> This is a reasonable thing to do (actually, I would recommend to set
OT> the highest article number in the active file to 1). But was it
OT> actually in the above floating-point format before you modified it,
OT> and did relaynews puke on it? That would be interesting.

The actual entry in the active file is not corrupted, so it was obviously
an internal problem within upact (or awk).

We actually restarted our article numbering a couple of years ago when
we switched over to a new machine (and I inadvertently zapped the high
and low numbers in the active file by running upact -b with an empty
news spool). I think that I used 'find' to remove all articles from all
of the users' .newsrc files so that they were obliged to start again.
What do the 'big' sites which have been running for a lot longer than
we have do when this sort of situation arises?

As an aside, several people have recommended that we switch over to using
INN rather than C-news, but as we are a leaf node we don't really need the
throughput. From the reports I've heard about INN expanding to use all of
the resources on the machine, this would seriously hamper the real work
that the users are supposed to do.

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


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