[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Groups Not Being Removed



on 12/17/03 3:07 PM, Matthias Andree at matthias.andree@xxxxxx wrote:

> Jeff Grossman schrieb am 2003-12-16:
> 
>> Okay, before I apply the patch from the other e-mail, I have a question.  I
>> looked through my dormant.groups directory and those groups are not listed.
>> But, I noticed that the groups do exist in interesting.groups.  In my config
>> file I have timeout_short set at 2 and timeout_long is set at 7.  Those
>> groups have not had any messages in them for quite sometime.  How come they
>> are still in my interesting.groups directory?
> 
> It's a feature :-)
> 
> The issue at hand is: if there are no postings in the group, we cannot
> tell if the newsreader still has the group subscribed reliably. We have
> a ".last.posting" file in the group directory to track the date of the
> last article that arrived in the group. Only if THAT file is newer than
> the date the group was last read by "timeout_*" days, we'll drop the
> group from interesting.groups.
> 

Okay, how do I know what timeout_* days is for a group?  Would that be the
ctime of the directory?  I just checked my tin.announce group.  The
last.posting file has a creation date of July 14th.

Here is the output of the lsmac.pl file for the Tin directory:

[root@apple tin]# /temp/lsmac.pl .
2003-07-08 10:55:07 2003-07-08 10:55:07 2003-12-17 15:51:50   6     4096 .
2003-12-01 07:22:31 2003-11-28 00:02:43 2003-12-17 15:49:22  21     4096 ..
2003-11-14 03:02:24 2003-11-14 03:02:24 2003-12-17 15:49:30   2     4096
announce
2003-11-16 03:02:13 2003-11-16 03:02:13 2003-12-17 04:06:38   2     8192
bugs
2003-11-14 03:02:24 2003-11-14 03:02:24 2003-12-17 04:06:38   2     8192
users
2003-11-16 03:02:13 2003-11-16 03:02:13 2003-12-17 04:06:38   2     8192 dev

The dates for the .last.posting date for each of these directories is
Announce - July 14
Bugs - July 17
Users - July 16
Dev - July 17

I am not sure how to read the output.  So, I will have to use your expertise
on that.  Does Leafnode still think I am reading the groups?  I use Tin on
the local machine, and Agent when I am at home to read the news.  I am not
subscribed to the groups in either newsreader.

>> problem.  Those groups are not in my subscribed groups in my newsreader, so
>> they should not be getting hit.  How can I look and see what dates or mtime
>> or atime (not sure what those are, I have just heard them used) are for
>> those groups in question?
> 
> Well, ctime also plays an important role because that is immune to
> backups :-) The tools/ directory has a short Perl program, lsmac.pl, to
> help you list these dates. Just use it with one or more directory names,
> "." will be fine for the current directory.
> 

I knew it was some kind of "time". :)

>> p.s. I was not aware of the 12/03 version.  Did I miss the announcement
>> about that version?
> 
> I hadn't announced it because the changes over 20031129a were too minor
> and not user-visible. You'd need a decent packet tracer to notice the
> difference, and it doesn't practically matter in a LAN either.
> 
> NEWS excerpt:
> 
> 20031203a: Changes since 20031129a:
> - Cleanup: (nntpd) Avoid extraneous fflush() that causes the status line
> and the following input to be sent in separate packets, adding packet
> overhead. Add nntpprintf_as for this purpose.

Not a problem.  I was just curious if I somehow missed the announcement or
my mail server is dropping mail for some reason.

Thanks for the help.

Jeff
-- 
Jeff Grossman (jeff@xxxxxxxxxxx)

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list