[comp.unix.sysv386] CNEWS on ESIX system

heiser@world.std.com (Bill Heiser) (09/23/90)

Hi -- I'm trying to get CNEWS running on an Esix system (rev D).
When my newshost sends in batches of news, my system runs UUXQT processes
from that system (and a SLEEP 300) process ...  after a while, like 10 minutes
or so, I get a mail message saying "inbound news discarded due to lack
of disk space".   

anyone else have any similar problem on an Esix system?  I hacked the
spacefor script in /usr/lib/newsbin to look at field #4, line #1 for the
number of blocks, but that didn't help the situation.

Thanks in advance -- quick replies would be most appreciated, as I'm
sure my newshost doesn't appreciate all these news batches being returned...

Thanks!


-- 
	     | bill%unixland.uucp@world.std.com
 Bill Heiser | heiser@world.std.com
_____________| heiser@sud509.ed.ray.com
| bill.heiser@f322.n240.z1.fidonet.org (Think_Tank BBS 508-655-3848)

henry@zoo.toronto.edu (Henry Spencer) (09/24/90)

In article <1990Sep23.025130.2076@world.std.com> heiser@world.std.com (Bill Heiser) writes:
>... I get a mail message saying "inbound news discarded due to lack
>of disk space".   
>
>anyone else have any similar problem on an Esix system?  I hacked the
>spacefor script in /usr/lib/newsbin to look at field #4, line #1 for the
>number of blocks, but that didn't help the situation.

Looks like you need to do some more work on spacefor (or else, just
possibly, you are very short on disk space).  Try running spacefor by
hand, with something like "spacefor 10000 incoming" (that is, "how many
10000-byte lumps of incoming news will fit?").  If it's coming out with
"0", it genuinely thinks you don't have enough space.  Either it's
picking up the wrong data from df, or its threshold is set too high
for your system.

>Thanks in advance -- quick replies would be most appreciated, as I'm
>sure my newshost doesn't appreciate all these news batches being returned...

Not a problem; "discarded" *means* "discarded".  It doesn't return them.
-- 
TCP/IP: handling tomorrow's loads today| Henry Spencer at U of Toronto Zoology
OSI: handling yesterday's loads someday|  henry@zoo.toronto.edu   utzoo!henry

art@pilikia.pegasus.com (Art Neilson) (09/25/90)

In article <1990Sep23.025130.2076@world.std.com> heiser@world.std.com (Bill Heiser) writes:
> [ problem with Cnews spacefor.sysv deleted ]

It is quite simple to get it to work with ISC. Change line 54 of the script
to look as follows:

	df $arg | sed "s/.*://" | awk "BEGIN { nf = 1 ; nr = 1 }

Thanks goes to:

Jack F. Vogel			jackv@locus.com
AIX370 Technical Support	       - or -
Locus Computing Corp.		jackv@turnkey.TCC.COM

for this fix, recently posted (12 Aug 90) to the former comp.unix.i386 and
the news.software.b newsgroups.
-- 
Arthur W. Neilson III		| ARPA: art@pilikia.pegasus.com
Bank of Hawaii Tech Support	| UUCP: uunet!ucsd!nosc!pegasus!pilikia!art