Thread View: news.software.nntp
4 messages
4 total messages
Started by Joe
Thu, 20 Feb 1997 00:00
expire takes FOREVER!
Author: Joe
Date: Thu, 20 Feb 1997 00:00
Date: Thu, 20 Feb 1997 00:00
13 lines
843 bytes
843 bytes
Anyone have an idea why expire sometimes takes 7 or 8 hours to run and other times it takes only 3 or 4? When it takes longer it doesn't appear to be expiring many more articles that it does when it takes less time. Weird. Also, should the server be throttled during expire? Would it be a bad idea?
Re: expire takes FOREVER!
Author: James Youngman
Date: Fri, 21 Feb 1997 00:00
Date: Fri, 21 Feb 1997 00:00
25 lines
1610 bytes
1610 bytes
In article <5eiaov$4pt@nntp.idsonline.com>, jfking@idsonline.com says... > >Anyone have an idea why expire sometimes takes 7 or 8 hours to run and >other times it takes only 3 or 4? When it takes longer it doesn't >appear to be expiring many more articles that it does when it takes >less time. The list of articles to be deleted must be sorted for reasonable performance. Make sure that the partition that sort(1) uses for temporary files has easily enough capacity to accept a whole history database. If this is not the case, you may end up with an unsorted list, which will take ages (especially with expireover). I solved this by moving the sort from /tmp to /var/tmp using the -T option to GNU sort(1) and changing news.daily. -- James Youngman VG Gas Analysis Systems The trouble with the rat-race Before sending advertising material, read is, even if you win, you're http://www.law.cornell.edu/uscode/47/227.html still a rat.
Re: expire takes FOREVER!
Author: James Brister
Date: Sat, 22 Feb 1997 00:00
Date: Sat, 22 Feb 1997 00:00
33 lines
2017 bytes
2017 bytes
JYoungman@vggas.com (James Youngman) writes: > > In article <5eiaov$4pt@nntp.idsonline.com>, jfking@idsonline.com says... > > > >Anyone have an idea why expire sometimes takes 7 or 8 hours to run and > >other times it takes only 3 or 4? When it takes longer it doesn't > >appear to be expiring many more articles that it does when it takes > >less time. > > The list of articles to be deleted must be sorted for reasonable performance. > Make sure that the partition that sort(1) uses for temporary files has > easily enough capacity to accept a whole history database. If this is not the > case, you may end up with an unsorted list, which will take ages (especially > with expireover). > > I solved this by moving the sort from /tmp to /var/tmp using the -T option to > GNU sort(1) and changing news.daily. Also, if it's really expire itself that is taking a long time, then try adding 'expdir=/var/tmp' where /var/tmp is a directory with lots of space (enough for a new history file and it's two dbz files) and is on a different spindle than the current history file. I've sometimes seen expire time (*not* news.daily time) drop from hours to 10-20 minutes when expdir= is used. James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org/isc inn@isc.org
Re: expire takes FOREVER!
Author: bill davidsen
Date: Mon, 24 Feb 1997 00:00
Date: Mon, 24 Feb 1997 00:00
26 lines
1681 bytes
1681 bytes
In article <5ekab5$ccg@halon.vggas.com>, James Youngman <JYoungman@vggas.com> wrote: | The list of articles to be deleted must be sorted for reasonable | performance. Make sure that the partition that sort(1) uses for | temporary files has easily enough capacity to accept a whole history | database. If this is not the case, you may end up with an unsorted | list, which will take ages (especially with expireover). I highly comment not even starting the actual file expiry and expireover unless the sort works. You will just have to kill them and rerun them, because they are unlikely to finish. | I solved this by moving the sort from /tmp to /var/tmp using the -T | option to GNU sort(1) and changing news.daily. I pointed all the symlinks at /tmp and made that large and striped, but we are cutting down the same tree. Sort absolutely must run or the system will have expiry problems big time. -- -bill davidsen (davidsen@tmr.com) "As a software development model, Anarchy does not scale well." -Dave Welch
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