Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site rna.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!cmcl2!rna!dan
From: dan@rna.UUCP (Dan Ts'o)
Newsgroups: net.news.b
Subject: Watch out: ACTIVE file too long...
Message-ID: <447@rna.UUCP>
Date: Mon, 28-Oct-85 14:53:22 EST
Article-I.D.: rna.447
Posted: Mon Oct 28 14:53:22 1985
Date-Received: Wed, 30-Oct-85 06:28:02 EST
Organization: Rockefeller Neurobiology
Lines: 36


	inews (ifuncs.c) completes barfs if your "ACTIVE file too long".
We dropped quite a bit of news before we found this out.

	From all the trash posting, your active file grows and grows. If
it gets longer than AFSIZ == 5000 (defs.h), inews drops everything on the
floor.

	Inews should not just quit. Why can't it just use the active file
entries it was able to read in.

	I have increased AFSIZ to 10000 on our system.

	Deleting the useless trash in the active, our active file is
roughly 9500 bytes. AFSIZ is not the size of the active file, but the
size of all the newsgroups (plus null bytes). To find out how close you
are to AFSIZ,

	cut -f1 -d\  /usr/lib/news/active > /tmp/active
	ls -l /tmp/active

	Doing the above, I get 4400 bytes (this is after I deleted the
garbage.) This (4400) is TOO close to AFSIZ == 5000. Everyone is probably
quite close to this limit.

	Sorry if its been mentioned before...

					Cheers,
					Dan Ts'o
					Dept. Neurobiology
					Rockefeller Univ.
					1230 York Ave.
					NY, NY 10021
					212-570-7671
					...cmcl2!rna!dan
					rna!dan@cmcl2.arpa