[news.software.b] batching problem

skip@claris.com (Brian Schipper) (10/19/88)

Why do only some of my comp.mail.map updates get put into a batch file?
I have a line in my sys file like this:

    maps:world,comp.mail.maps:F:/usr/spool/news/maps/comp.mail.maps/Batch

But only some of the map updates make it into the file.  For example, here
are two entries that came in contiguously.  One made it in and one didn't.
I'm running news 2.11, patchlevel 14. 

From /usr/lib/news/log:

Oct 17 23:58    apple   received <Oct.18.01.18.22.1988.4106@rutgers.rutgers.edu>
 ng comp.mail.maps subj 'UUCP map for u.usa.il.1' from uucpmap@rutgers.rutgers.e
du (UUCP Mapping Project)

Oct 17 23:58    apple   Cancelling <Sep.27.01.22.13.1988.16253@rutgers.rutgers.e
du>      09/27/88 08:00 comp.mail.maps/2171

Oct 17 23:58    apple   received <Oct.18.01.18.47.1988.4130@rutgers.rutgers.edu>
 ng comp.mail.maps subj 'UUCP map for u.usa.in.1' from uucpmap@rutgers.rutgers.e
du (UUCP Mapping Project)

Oct 17 23:58    apple   Cancelling <Oct.8.05.45.18.1988.25660@rutgers.rutgers.ed
u>       10/08/88 10:59 comp.mail.maps/2300

Oct 17 23:58    apple   <Oct.18.01.18.47.1988.4130@rutgers.rutgers.edu> sent to
maps, ames

Here are the headers of the two articles.  One was sent to maps, and one
wasn't.  Why?

	Path: claris!apple!rutgers!pleasant
	From: uucpmap@rutgers.rutgers.edu (UUCP Mapping Project)
	Newsgroups: comp.mail.maps
	Subject: UUCP map for u.usa.il.1
	Message-ID: <Oct.18.01.18.22.1988.4106@rutgers.rutgers.edu>
	Date: 18 Oct 88 05:18:24 GMT
	Expires: 2 Dec 88 05:18:22 GMT
	Sender: pleasant@rutgers.rutgers.edu
	Lines: 1670
	Approved: pleasant@rutgers.edu (Mel Pleasant)
	Supersedes: <Sep.27.01.22.13.1988.16253@rutgers.rutgers.edu>

	Path: claris!apple!rutgers!pleasant
	From: uucpmap@rutgers.rutgers.edu (UUCP Mapping Project)
	Newsgroups: comp.mail.maps
	Subject: UUCP map for u.usa.in.1
	Message-ID: <Oct.18.01.18.47.1988.4130@rutgers.rutgers.edu>
	Date: 18 Oct 88 05:18:48 GMT
	Expires: 2 Dec 88 05:18:46 GMT
	Sender: pleasant@rutgers.rutgers.edu
	Lines: 498
	Approved: pleasant@rutgers.edu (Mel Pleasant)
	Supersedes: <Oct.8.05.45.18.1988.25660@rutgers.rutgers.edu>

-- 
Internet: skip@claris.com	      Applelink: SCHIPPER1
UUCP: {ames,apple,sun}!claris!skip    Phone: 415-960-2618

lmb@vsi1.UUCP (Larry Blair) (10/20/88)

In article <6122@claris.com> skip@claris.com (Brian Schipper) writes:
=Why do only some of my comp.mail.map updates get put into a batch file?
=I have a line in my sys file like this:
=
=    maps:world,comp.mail.maps:F:/usr/spool/news/maps/comp.mail.maps/Batch
=
=But only some of the map updates make it into the file.  For example, here
=are two entries that came in contiguously.  One made it in and one didn't.
=I'm running news 2.11, patchlevel 14. 

You left out the lines that show "sent to" from your log.  I've noticed
the same behaviour quite a bit.  Unfortunately, I've never caught it before
the log file rolled over, so I couldn't tell whether it was an inews
problem or some sort of uuhosts/inews interaction problem.  In other
words, you are not alone in having this problem.
-- 
Larry Blair   ames!vsi1!lmb   lmb%vsi1.uucp@ames.arc.nasa.gov

skip@claris.com (Brian Schipper) (10/20/88)

In article <1119@vsi1.UUCP> lmb@vsi1.UUCP (Larry Blair) writes:
>You left out the lines that show "sent to" from your log.  I've noticed
>the same behaviour quite a bit.  Unfortunately, I've never caught it before
>the log file rolled over, so I couldn't tell whether it was an inews
>problem or some sort of uuhosts/inews interaction problem.  In other
>words, you are not alone in having this problem.

But that's just it.  I didn't leave out any lines.  One of the articles
has a 'sent to' line, the other one doesn't.  Inews seems to randomly
leave one out now and then.

-- 
Internet: skip@claris.com	      Applelink: SCHIPPER1
UUCP: {ames,apple,sun}!claris!skip    Phone: 415-960-2618

cander@unisoft.UUCP (Charles Anderson) (10/21/88)

From article <6122@claris.com>, by skip@claris.com (Brian Schipper):
> Why do only some of my comp.mail.map updates get put into a batch file?
> I have a line in my sys file like this:
> 
>     maps:world,comp.mail.maps:F:/usr/spool/news/maps/comp.mail.maps/Batch
> 
> But only some of the map updates make it into the file.  For example, here
> are two entries that came in contiguously.  One made it in and one didn't.
> I'm running news 2.11, patchlevel 14. 

I have also had this problem under 2.10.?? and 2.11.12.  I first
noticed it when I was forwrding news to another machine on our network
that wasn't running NFS.  There was a major discrepancy between the
number of articles recevied by the two machines.  I found that ~10% of
all articles received were not forwarded.  There didn't seem to be any
particular groups that were singled out for this bad propigation.  It
didn't seem to matter if it was a full or partial feed.  I always
assumed it was a "feature" with inews/rnews.  I wrote a shell script
and two awk scripts to search the log for articles that weren't
forwarded, look them up in the history file, and append them to a list
of batch files.  The script assumes full feeds and that all sites are
batched (i.e., I never spent the time to parse the sys file). It also
has a special case for unsharing the map files from comp.mail.maps.  If
anyone's interested, I'm willing to mail or post them, or perhaps there
is a real fix to this problem, instead of a kludge after the fact.


-- 

Charles.
{sun, amdahl, ucbvax, pyramid, uunet}!unisoft!cander