🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Kai 'wusel' Siering Wed, 28 Jun 2000 00:00
dreaderd: Unterstanding dexpireover/dexpire.ctl
#47146
Author: Kai 'wusel' Siering
Date: Wed, 28 Jun 2000 00:00
90 lines
3744 bytes
Hola,

while playing around with the reader part of diablo-2.2-REL, I
seem somewhat lost at how to get the overview exiration right --
maybe there's someone out there who could lend me a hint here?


On testnews, there's a dreaderd running on port 119, configured
to fetch articles from a remote NNTP server (no local diablo)
and _not_ to cache the retrieved articles (for now; caching might
become interessting later).

My dexpire.ctl reads:
---8<---
news@testnews:~ $ grep -v '^#' /news/dexpire.ctl

*:100:x14
*.answers:100:x31
news.announce.*:100:x31
*.binaries:100:x1
*.binaries.*:100:x1
*.*.binaries:100:x1
*.*.binaries.*:100:x1
*.*.*.binaries:100:x1
*.*.*.binaries.*:100:x1
de.alt.dateien.*:100:x2
control:100:x1
control.*:100:x1
junk:100:x1
--->8---

/news/adm/daily.reader (the sample version, which calls dexpire-
over) is run daily at 00:00 local time. As soon as daily.reader
has finished, connecting to dreaderd shows only articles of the
last day, i. e. it seems as if all overviews of articles older
than one day have been wiped, not only those in "binary"-groups.

What am I missing? The example dexpire.ctl states:
---8<---
# DEXPIRE.CTL
#
# Information from all matching entries are merged, taking
# the lowest equivalent expire time.  So, for example,
# a * entry with a maximum file size of 2m covers ALL
# articles, but a later :m400k match will reduce that.
#
# Expiration is in percentage of best-case and values may
# be between 1 and 100.  At least one entry should have
# an expiration of 100 :-). Most people specify 100 for
# local groups and lesser values for other groups.
#
# You can revert to the old FIFO spool storage mechanism
# simply by specifying a 100 expiration for all groups
# in this file.
[...]
--->8---

In my opinion, the above dexpire.ctl should follow the rules
outlined above?

The fragment of /news/adm/daily.reader which calls dexpire-
over seems, according to the man-pages, correct:

---8<---
if ( -d ${group}/. ) then
    cd ${group}
    /news/dbin/plock -t ~/.dexpireover /news/dbin/dexpireover -a -o
    /news/dbin/plock -t ~/.dexpireover /news/dbin/dexpireover -w 'alt.*' -O180
endif
--->8---

Could someone please show me the correct entries for storing
all (articles and) overviews for 14 days but wipe (articles
and) overviews for some binary group patterns after one day?
I don't want any fancy stuff, just a similar expiration as on
the remote NNTP servers (who expire "traditionally", that is
based on posting date and newsgroup pattern).

Any hints appreciated,
			kai

-- 
Kai 'wusel' Siering                       eMail @ home: wusel@uu.org
Traveller on the Information Highway doing full-time administration.
The views expressed here are not neccessarily those of any employer.

- Looking for peers for several non-european national TLHs, please -
- contact me for details so we can arrange a peering.              -

Re: dreaderd: Unterstanding dexpireover/dexpire.ctl
#47186
Author: Nickolai Zeldovich
Date: Thu, 29 Jun 2000 00:00
10 lines
1004 bytes
In article <962232236.149662@news.mediaWays.net>, Kai 'wusel' Siering wrote:
>    /news/dbin/plock -t ~/.dexpireover /news/dbin/dexpireover -a -o

I suspect the problem you are seeing is because dexpireover is ran
with -o; removing that option should cause dexpireover to expire
overview based on dexpire.ctl values.

-- kolya

Re: dreaderd: Unterstanding dexpireover/dexpire.ctl
#47192
Author: Kjetil Torgrim Homme
Date: Thu, 29 Jun 2000 00:00
28 lines
1365 bytes
[Kai Siering]

>   My dexpire.ctl reads:
>   ---8<---
>   news@testnews:~ $ grep -v '^#' /news/dexpire.ctl
>   
>   *:100:x14
>   *.answers:100:x31
>   news.announce.*:100:x31
>   *.binaries:100:x1
>   *.binaries.*:100:x1
>   *.*.binaries:100:x1
>   *.*.binaries.*:100:x1
>   *.*.*.binaries:100:x1
>   *.*.*.binaries.*:100:x1
>   de.alt.dateien.*:100:x2
>   control:100:x1
>   control.*:100:x1
>   junk:100:x1
>   --->8---

I think you need to adjust the 100% values to correspond with the
expire times.  Just guessing, read the code for enlightenment.


Kjetil T.

Re: dreaderd: Unterstanding dexpireover/dexpire.ctl
#47199
Author: Nickolai Zeldovich
Date: Fri, 30 Jun 2000 00:00
13 lines
1274 bytes
In article <395c852e$0$28572$4b2ec211@nnca-gtso-2.news.mediaWays.net>, Kai 'wusel' Siering wrote:
>Thanks, that indeed was the culprit! Maybe the default installation
>should not contain this flag, which seems be useful only for a com-
>bination of diablo and dreaderd on the same machine, not a stand-
>alone dreaderd ...

Yep; I thought I removed it when the same thing happened to someone
else a few months ago, but I guess it somehow escaped. It should be
gone in the next release.

-- kolya

Re: dreaderd: Unterstanding dexpireover/dexpire.ctl
#47215
Author: Kai 'wusel' Siering
Date: Fri, 30 Jun 2000 00:00
24 lines
1666 bytes
kolya@mit.edu (Nickolai Zeldovich) wrote:

% In article <962232236.149662@news.mediaWays.net>, Kai 'wusel' Siering wrote:
% >    /news/dbin/plock -t ~/.dexpireover /news/dbin/dexpireover -a -o
% 
% I suspect the problem you are seeing is because dexpireover is ran
% with -o; removing that option should cause dexpireover to expire
% overview based on dexpire.ctl values.

Thanks, that indeed was the culprit! Maybe the default installation
should not contain this flag, which seems be useful only for a com-
bination of diablo and dreaderd on the same machine, not a stand-
alone dreaderd ... Well, I promise first to look into the code next
time ;)

Regards,
			kai

-- 
Kai 'wusel' Siering                       eMail @ home: wusel@uu.org
Traveller on the Information Highway doing full-time administration.
The views expressed here are not neccessarily those of any employer.

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