🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Robert Sandford Wed, 21 Oct 1998 00:00
Old entries not being dropped!!
#32349
Author: Robert Sandford
Date: Wed, 21 Oct 1998 00:00
44 lines
2044 bytes
Hello,

  I am using Inn 2.1 with meta-cyclic buffer files. Everything runs
great for about a
week before the news server croaks due to "Cannot Malloc 3369603" space.

I am assuming this is because its not dropping the old entries which
grows pretty rapidly. How can I get it to drop old entries!!!!

Under my expire.ctl file I have it set to keep the articles for 4 days.
*:A:1:4:never

Here is my cron jobs for news:
0 3 * * * /usr/var/spool/news/bin/news.daily delayrm norenumber lowmark
expireov
er
10 * * * * /usr/var/spool/news/bin/nntpsend
20 * * * * /usr/var/spool/news/bin/rnews -U

Here is a brief daily innreport on articles.
Oct 20 1998 Report:
Article lines processed  1159973
Articles retained         832531
Entries expired           327442
Articles dropped               0
Overview index dropped    446156
Old entries dropped            0
Old entries retained     2368580

Oct 21 1998 Report:
Article lines processed  1161177
Articles retained         890565
Entries expired           270612
Articles dropped               0
Overview index dropped    373823
Old entries dropped            0
Old entries retained     2767087

Thanks in Advance
Robert Sandford
Marietta College


Re: Old entries not being dropped!!
#32374
Author: CDR Michael Dobson
Date: Thu, 22 Oct 1998 00:00
43 lines
2205 bytes
In article <362DFBA7.197A8C69@marietta.edu>,
Robert Sandford  <news@marietta.edu> wrote:

[ snip  problem with old entires not expiring ]

>Here is a brief daily innreport on articles.
>Oct 20 1998 Report:
>Article lines processed  1159973
>Articles retained         832531
>Entries expired           327442
>Articles dropped               0
>Overview index dropped    446156
>Old entries dropped            0
>Old entries retained     2368580
 
>Oct 21 1998 Report:
>Article lines processed  1161177
>Articles retained         890565
>Entries expired           270612
>Articles dropped               0
>Overview index dropped    373823
>Old entries dropped            0
>Old entries retained     2767087

You know, I've just been seeing a similar thing here myself.  I
haven't kept the news.daily messages to tell how long it's been going on
so I can't say when it started but I first noticed it last week
sometime.  I'm running INN-1.7.2.insync-1.1c here with the latest
Cleanfeed and Channelcontrol scripts (I think).  Yesterday mid-morming
my newsspool which normally runs with about 4 Gig of free space filled
up yet innwatch didn't throttle the system :-(  I had to resort to a
"maunal expire" using "find . -mtime +4 -exec rm {} \;".

Anyone got a clue as to what is going on here?

Mike
-- 
CDR M. Dobson                      | System Admin info.usuhs.mil
Radiation Medicine Department      | dobson@info.usuhs.mil
Armed Forces Radiobiology          | 
Research Institute                 | I don't have enough rank to speak for DoD

Re: Old entries not being dropped!!
#32390
Author: Ron Jarrell
Date: Fri, 23 Oct 1998 00:00
31 lines
2399 bytes
CDR Michael Dobson <dobson@info.usuhs.mil> wrote:
> In article <362DFBA7.197A8C69@marietta.edu>,
> Robert Sandford  <news@marietta.edu> wrote:

> You know, I've just been seeing a similar thing here myself.  I
> haven't kept the news.daily messages to tell how long it's been going on
> so I can't say when it started but I first noticed it last week
> sometime.  I'm running INN-1.7.2.insync-1.1c here with the latest
> Cleanfeed and Channelcontrol scripts (I think).  Yesterday mid-morming
> my newsspool which normally runs with about 4 Gig of free space filled
> up yet innwatch didn't throttle the system :-(  I had to resort to a
> "maunal expire" using "find . -mtime +4 -exec rm {} \;".


Two different problems here.. THe former poster's problem is that most
of expire.ctl is ignored while using cnfs; it expires itself.  He needs
to set remember to something reasonable.

Your problem was likely a peak surge.  Review your innwatch settings.
On a big disk the 10% safety margin might be much more than your innwatch
warning.  I.e. if the 10% margin means that your disk thinks it's 100%
full at 250meg free, but innwatch is looking for 100meg, innwatch
will never get the opportunity to stop the server.  Innd will try to write
an article, hit the enospace error, and throttle itself, at which
point innwatch won't touch it, cause it didn't set the state. 

You can still run expire manually, just add the "-n" flag to warn it that 
innd isn't running, so that it doesn't need to reserve the server, and
don't "go" it until you're done.

Re: Old entries not being dropped!!
#32594
Author: CDR Michael Dobson
Date: Wed, 28 Oct 1998 00:00
31 lines
2078 bytes
In article <70qkqh$4jv$2@solaris.cc.vt.edu>,
Ron Jarrell  <jarrell@solaris.cc.vt.edu> wrote:

[ snip ]

>Your problem was likely a peak surge.  Review your innwatch settings.
>On a big disk the 10% safety margin might be much more than your innwatch
>warning.  I.e. if the 10% margin means that your disk thinks it's 100%
>full at 250meg free, but innwatch is looking for 100meg, innwatch
>will never get the opportunity to stop the server.  Innd will try to write
>an article, hit the enospace error, and throttle itself, at which
>point innwatch won't touch it, cause it didn't set the state. 

Thanks Ron, that indeed seems to be what happened.  I have an 8 Gig
spool but the throttle level for innwatch is set at 8 Meg.  Looks like I
need to fix that.  Still, that must have been one hell of a peak surge.
I normally handle 200K articles per day, no binaries and run with >50%
free space on the spool.

That still doesn't explain why expire never seems to be removing any
expired entries from my history file :-(  It used to do that, IIRC.
Maybe I'm using the wrong flags to my weekly makehistory cron job.

Mike
-- 
CDR M. Dobson                      | System Admin info.usuhs.mil
Radiation Medicine Department      | dobson@info.usuhs.mil
Armed Forces Radiobiology          | 
Research Institute                 | I don't have enough rank to speak for DoD

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