Thread View: news.software.nntp
4 messages
4 total messages
Started by Thomas Lee
Wed, 26 Sep 2001 08:55
history file growth
Author: Thomas Lee
Date: Wed, 26 Sep 2001 08:55
Date: Wed, 26 Sep 2001 08:55
54 lines
2932 bytes
2932 bytes
hello,
my history file just keeps growing...
i'm happy for it to be big, but is it really meant to keep increasing in
size until it runs out of diskspace? i had thought that expire, called
by news.daily should do the trick, but it's in cron, and doing nothing
(well, i think that it /does/ work cos /var/log/news/expire.list grows
with plausible looking hashes).
how do i shrink my history file? run a makehistory? run expire manually?
reduce further the expire.ctl? run prunehistory and then sed away the
blank lines? accept the fact that the file will grow forever, and keep
lobbing in bigger disks? just edit the damned file in vi? :)
the only other thing that we could have done to fubar the situation
ourselves, is to have moved the partition (a coupla months ago) that the
history is in. however, if the pathdb is correctly referenced in the
inn.conf it should be okay, n'est-ce pas?
do you need any further info from me? it's innd 2.3.0 btw...
any help would be hugely appreciated.
thanks,
tom
--
this is my crontab:
0 1 * * 2 news /usr/local/news/bin/news.daily expireover lowmark
expdir=/usr/local/news/db notdaily
0 1 * * * news /usr/local/news/bin/news.daily noexpire lowmark
expdir=/usr/local/news/db
and my expire.ctl is set to /remember/:7
and this is the expire.log:
root@spartacus /var/log/news# cat expire.log
expireover start Wed Sep 26 01:00:59 CEST 2001: (
-Z/var/log/news/expire.lowmark)
Article lines processed 2779971
Articles dropped 69940
Overview index dropped 76103
expireover end Wed Sep 26 02:22:47 CEST 2001
lowmarkrenumber begin Wed Sep 26 02:22:47 CEST 2001:
(/var/log/news/expire.lowmark)
lowmarkrenumber end Wed Sep 26 02:22:48 CEST 2001
Re: history file growth
Author: Terrance Richard Boyes
Date: Wed, 26 Sep 2001 19:26
Date: Wed, 26 Sep 2001 19:26
36 lines
2749 bytes
2749 bytes
Thomas Lee <lee@fr.clara.net> wrote: > my history file just keeps growing... > i'm happy for it to be big, but is it really meant to keep increasing in > size until it runs out of diskspace? i had thought that expire, called > by news.daily should do the trick, but it's in cron, and doing nothing > (well, i think that it /does/ work cos /var/log/news/expire.list grows > with plausible looking hashes). > how do i shrink my history file? run a makehistory? run expire manually? > reduce further the expire.ctl? run prunehistory and then sed away the Well your remember value is quite low, how about the other lines. articles are kept in history as long as they exist on the server. Also try checking out some of the articles near the top, are they still available ? And the 2 numbers in the middle are seconds since epoch, which ticked past 999999999 17 days ago. > the only other thing that we could have done to fubar the situation > ourselves, is to have moved the partition (a coupla months ago) that the > history is in. however, if the pathdb is correctly referenced in the > inn.conf it should be okay, n'est-ce pas? If that doesn't work on it's own, try rebuilding the history, ISTR a couple of oddities in what did get expired after I upgraded INN, moved things around and changed expire.ctl some months ago. Though the details escape me, and since I did several things at the same time it's a bit difficult to say what the cause was. -- <URL:http://www.pierrot.co.uk/> Team AMIGA T-Shirt saying: You can live outside the law, but you must be honest.
Re: history file growth
Author: Thomas Lee
Date: Thu, 27 Sep 2001 11:39
Date: Thu, 27 Sep 2001 11:39
69 lines
3876 bytes
3876 bytes
wow, merely the act of posting to this group seems to have cajoled or terrorized my expire into actually expiring :) i changed some stuff in expire.ctl to purge groups more rapidly, did a ctlinnd reload, and not a lot happened. i tried rerunning news.daily, and again, no success. i noticed in ctlinnd mode that expire had failed to unreserve itself, so having cleared that, i reran news.daily again. this time it produced an error of: dbz.c:1293 Can't malloc 1160531720 bytes: Cannot allocate memoryexpire which fazed me for a while. however, mysteriously, my history file is now 1.6G instead of 10G, making me considerably happier :) so, my immediate disk space crisis is now gone, but i'm unable to expire, as displayed by this error. oh well. searching on dejanews, it looks like this error msg has happened lots, though with the exception of karsten's kernel hack, there doesn't really look to have been any viable solutions proposed... therefore,can anyone shed any more light on how to resolve this memoryexpire error? thanks for any feedback folks, tom Terrance Richard Boyes wrote: > Thomas Lee <lee@fr.clara.net> wrote: > > >>my history file just keeps growing... >> > >>i'm happy for it to be big, but is it really meant to keep increasing in >>size until it runs out of diskspace? i had thought that expire, called >>by news.daily should do the trick, but it's in cron, and doing nothing >>(well, i think that it /does/ work cos /var/log/news/expire.list grows >>with plausible looking hashes). >> > >>how do i shrink my history file? run a makehistory? run expire manually? >>reduce further the expire.ctl? run prunehistory and then sed away the >> > > Well your remember value is quite low, how about the other lines. > articles are kept in history as long as they exist on the server. > Also try checking out some of the articles near the top, are > they still available ? And the 2 numbers in the middle are > seconds since epoch, which ticked past 999999999 17 days ago. > > >>the only other thing that we could have done to fubar the situation >>ourselves, is to have moved the partition (a coupla months ago) that the >>history is in. however, if the pathdb is correctly referenced in the >>inn.conf it should be okay, n'est-ce pas? >> > > If that doesn't work on it's own, try rebuilding the history, > ISTR a couple of oddities in what did get expired after I > upgraded INN, moved things around and changed expire.ctl some > months ago. Though the details escape me, and since I did > several things at the same time it's a bit difficult to > say what the cause was. > >
Re: history file growth
Author: Terrance Richard Boyes
Date: Thu, 27 Sep 2001 18:17
Date: Thu, 27 Sep 2001 18:17
45 lines
3026 bytes
3026 bytes
Thomas Lee <lee@fr.clara.net> wrote: > wow, merely the act of posting to this group seems to have cajoled or > terrorized my expire into actually expiring :) > i changed some stuff in expire.ctl to purge groups more rapidly, did a > ctlinnd reload, and not a lot happened. i tried rerunning news.daily, > and again, no success. i noticed in ctlinnd mode that expire had failed > to unreserve itself, so having cleared that, i reran news.daily again. Sounds like it finally spotted your expire changes... > this time it produced an error of: > dbz.c:1293 Can't malloc 1160531720 bytes: Cannot allocate memoryexpire > which fazed me for a while. however, mysteriously, my history file is > now 1.6G instead of 10G, making me considerably happier :) > so, my immediate disk space crisis is now gone, but i'm unable to > expire, as displayed by this error. oh well. I occasionally hit that problem, a quick restart of innd "fixes" it. Related is that after inn has been running for a week or so and if expire is running daily then the expire time starts creeping up, and then suddenly becomes horrendous (having started swapping out most likely). I've not bothered investigating fully but when I did check I noticed that innd was hogging rather a lot of memory. Recently I've tried running expire just once a week, and innd hasn't yet grabbed as much memory. This is with RedHat Linux 7 running on an Alpha, and inn 2.3.2 which has one tiny patch due to a very weird compiler bug. So it could well be that there's some memory leakage that may only effect this system... [snip] -- <URL:http://www.pierrot.co.uk/> Team AMIGA Scrubbing floors and emptying bedpans has as much dignity as the Presidency. - Richard Nixon
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