Article View: news.software.nntp
Article #80510Re: Issue with sendinpaths, shipped with inn
From: Julien ÉLIE
Date: Fri, 03 Apr 2009 07:52
Date: Fri, 03 Apr 2009 07:52
61 lines
3588 bytes
3588 bytes
Hi Sven,
> I just noticed that sendinpath will just report 14 - and not what it IMHO
> should 30 - Days per default.
>
> The shipped version has the following lines of interrest:
> ---
> report=30
> keep=14
It is also what the official version has on top1000:
http://www.top1000.org/ninpaths-3.1.1.tar.gz
> So $keep is the days to keep the dump files. But if there are only 14 days
> worth of pathdata from the dumps, there will only be 14 days reported. Even
> if "report=30" suggest that it will (try to) report 30 days. Should'n booth
> be equally or $keep one more than report? Or am I wrong here?
I think that the script works fine the way it used to be run.
"Historically, it only occured once a month. Now that most Usenet feeds are
realtime, we could probably find interesting figures in daily stats."
"Just set up a cron job to compute the stats every month, or even every day/week.
Sending stats every day is an interesting option, because full feeds today mean
big path logfiles, parsing and clearing them daily is often valuable. It also
helps computing pertinent daily stats."
When stats were sent each month, these variables make sense: we send the 30
last days and we keep the 14 last days (so that not to remove everything).
Well, when the months is 31-day long, there is a loss...
Now that the stats can be sent more frequently, something may be changed.
> Could this correct someone at the distributed version, please?
The ninpaths man page says:
"Once per month, run the sendinpaths script, which collects the dumps,
makes a report, and then deletes the old dumps."
There are a few things to change in INN (especially regarding documentation)
in order to do what you want. The scripts are currently consistent with
the documentation.
When run every day, shouldn't only the stats of the previous day be sent?
(and not for the 30 last days?)
Shouldn't $report and $keep match the frequency of the cron which runs sendinpaths?
It is what I understand from the top1000 web site.
Then maybe we would need options like "sendinpaths -r 30 -k 14" so that it
could be easier to change these values?
--
Julien ÉLIE
« Vita breuis, ars longa, occasio praeceps,
experimentum pericolosum, iudicium difficile. » (Hippocrate)
Technical Details
Message-ID:
<gr4fb0$dt2$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mailReferences:
<gr4971$1k6p$1@news.unit0.net>Show Full Headers
Complete Article Headers
Message-ID: <gr4fb0$dt2$1@news.trigofacile.com> Subject: Re: Issue with sendinpaths, shipped with inn Date: Fri, 3 Apr 2009 09:52:25 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <gr4971$1k6p$1@news.unit0.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 61 NNTP-Posting-Host: amontpellier-152-1-9-203.w81-251.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1238745248 14242 81.251.36.203 (3 Apr 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Fri, 3 Apr 2009 07:54:08 +0000 (UTC) In-Reply-To: <gr4971$1k6p$1@news.unit0.net> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049