Thread View: news.software.nntp
9 messages
9 total messages
Started by Ali Anghaie
Wed, 19 Nov 1997 00:00
Expire problems...
Author: Ali Anghaie
Date: Wed, 19 Nov 1997 00:00
Date: Wed, 19 Nov 1997 00:00
23 lines
1143 bytes
1143 bytes
My expire process seems to be taking entirely too long... it goes on for
over 12 hours and usually streams into the 16/17 hour...
I have it expiring to another spindle and I'm running INN 1.7...
Is this usual now-a-days? What can I do to try to speed it up... (Its got
plenty of proc. power and memory to work with... and nothing else on the
server seems to be lagging...)
--
- Ali A. (Amir-Ali R. Anghaie)
- ali@ece.ufl.edu - ali@hcs.ufl.edu
- ali@tec.ufl.edu - ali@inspi.ufl.edu
- ali@eel.ufl.edu - ali@afn.org
- ali@just.about.everywhere.else.too
{ Any opinions herein are not facts :) }
Re: Expire problems...
Author: Ron Echeverri
Date: Wed, 19 Nov 1997 00:00
Date: Wed, 19 Nov 1997 00:00
22 lines
1443 bytes
1443 bytes
In article <64um85$ee7$1@maya.ece.ufl.edu>, Ali Anghaie <ali@iriquois.eel.ufl.edu> wrote: >My expire process seems to be taking entirely too long... it goes on for >over 12 hours and usually streams into the 16/17 hour... >I have it expiring to another spindle and I'm running INN 1.7... >Is this usual now-a-days? What can I do to try to speed it up... (Its got >plenty of proc. power and memory to work with... and nothing else on the >server seems to be lagging...) Check your /tmp space. If you don't have enough space to sort the expire list, it will fail and then the unsorted expire list will be fed to fastrm and will be much less efficient. rone -- Ron Echeverri "What, me pithy?" +-+ Systems/Usenet Administration Mountain View ->b | Best Internet Communications, Inc. \ \ <rone+sig@best.net> <URL:http://www.ennui.org/~rone/> \_|
Re: Expire problems...
Author: Anthony Kueh
Date: Wed, 19 Nov 1997 00:00
Date: Wed, 19 Nov 1997 00:00
34 lines
1616 bytes
1616 bytes
I seem to have the same problem.. but it doesn't take as long.. usually
around 10-11 hours. However, I know this is not suppose to take this long.
Most of the time is spent in "expire", and not "expireover" or "fastrm".
Anyone got any suggestions?
-Tony
Ali Anghaie wrote in message <64um85$ee7$1@maya.ece.ufl.edu>...
>
>My expire process seems to be taking entirely too long... it goes on for
>over 12 hours and usually streams into the 16/17 hour...
>
>I have it expiring to another spindle and I'm running INN 1.7...
>
>Is this usual now-a-days? What can I do to try to speed it up... (Its got
>plenty of proc. power and memory to work with... and nothing else on the
>server seems to be lagging...)
>--
>
> - Ali A. (Amir-Ali R. Anghaie)
>
> - ali@ece.ufl.edu - ali@hcs.ufl.edu
> - ali@tec.ufl.edu - ali@inspi.ufl.edu
> - ali@eel.ufl.edu - ali@afn.org
>
> - ali@just.about.everywhere.else.too
>
> { Any opinions herein are not facts :) }
Re: Expire problems...
Author: Requests for Further Spamming
Date: Thu, 20 Nov 1997 00:00
Date: Thu, 20 Nov 1997 00:00
80 lines
4635 bytes
4635 bytes
On Wed, 19 Nov 1997, Anthony Kueh wrote:
> I seem to have the same problem.. but it doesn't take as long.. usually
> around 10-11 hours. However, I know this is not suppose to take this long.
> Most of the time is spent in "expire", and not "expireover" or "fastrm".
Well, excellent. One problem is that people say that expire takes too
long, without giving more details. Fortunately, you're pointing to expire
itself as taking far longer than it should, so we won't offer you
suggestions how to make fastrm go faster.
> Anyone got any suggestions?
What you are saying is that it is taking far too long for expire to go
through your history file and copy the entries it wants to keep to
history.n. When expire finishes this, it takes a few seconds (or more) to
make a new .pag database file, then it quickly shuffles the history.n*
files into place. You probably see that after a few hours, you have a
history.n file that's still far smaller than your history file, and is
only slowly growing in size.
I've just completed a gruesome study of the effect of various things
on expire and other performance. In fact, I've reached the point where my
history file has grown large enough that rather than taking ten to twenty
minutes to chew through the file, it may take hours, until I have mercy
and terminate the futile process.
The crucial factors are the size of the database file (the .pag file)
and the amount of memory you have. The database file size will be
somewhat proportional to the size of the history text file, with a few
days of smoothing. This is also proportional to the length of time you
remember history entries.
With 32M of RAM, I was able to keep a history file with the .pag size
of less than 10M without problems. However, recently, it's grown to about
12M, and expire has taken hours to go through a dozen megs of a 100+M text
file. That's quite a big performance hit. It also seems to depend
somewhat on the OS and what else the machine may be doing.
I ran into this problem earlier, with a smaller text file (obtained by
only taking a partial feed and remembering entries for only a few days)
with my machine's initial configuration of a whopping 16M of RAM, carrying
a Big 8 feed. I knew there was a problem when it took six hours to
expire. Adding more RAM made a huge difference, and I didn't have any
crippling problems until just recently, when the number of entries I was
saving had roughly doubled.
Your big problem is RAM. I got lucky one day and was able to run the
same files that were taking a long time, with twice the memory, and it
took only four minutes to get through the files and rebuild the database.
But back at 32M, the machine crawled.
So what can you do? Add more memory. You'll see a big performance
boost as your machine needs to hit the disk less (part of the memory will
be used to cache the history text file), but most importantly, you'll be
able to keep the database file in memory which is far more efficient than
consulting the text file for each entry. Someone else can explain this
better than I can.
If you can't add more RAM, it sounds like you've hit the point where
your history files are a bit too big, and the only way to regain your
performace will be to reduce the size of these files, which can be done by
reducing the time you keep entries in the history file, although it will
take ten days for your changes to make a real difference, unless you
rebuild the .pag file directly from the smaller text file. See
makehistory for this.
It seems like it's common advice to add more RAM. And it works. I've
seen a drastic leap from tolerable performance to intolerable performance
brought about by a small increase in the size of the files, and that's
very probably what you're seeing as well.
Barry Bouwsma
Feh, I still want to run a full feed with only 16M of RAM
Re: Expire problems...
Author: Bettina Fink
Date: Fri, 21 Nov 1997 00:00
Date: Fri, 21 Nov 1997 00:00
47 lines
2610 bytes
2610 bytes
Requests for Further Spamming <abuse@coredump.int.tele.dk> wrote:
> On Wed, 19 Nov 1997, Anthony Kueh wrote:
>> I seem to have the same problem.. but it doesn't take as long.. usually
>> around 10-11 hours. However, I know this is not suppose to take this long.
>> Most of the time is spent in "expire", and not "expireover" or "fastrm".
> Well, excellent. One problem is that people say that expire takes too
> long, without giving more details. Fortunately, you're pointing to expire
> itself as taking far longer than it should, so we won't offer you
> suggestions how to make fastrm go faster.
I recognized something really strange today: EXPIREFLAGS were
"-v1" at my server. After adding the "-s" flag to get the summary
line, the time expire (I use the delayrm option) needs to run
through my history and rebuild it went from about 10 minutes to
1 1/2 hours. I changed it back to "-v1" again and now rebuilding
my 255 MB history takes only 7 minutes in expire again.
expire begin Thu Nov 20 03:00:42 MET 1997: (-v1 -s -z/var/log/news/expire.rm)
Removed approximately 367228k
Article lines processed 2126658
Articles retained 2017919
Entries expired 108739
Files unlinked 124797
Old entries dropped 139263
Old entries retained 1491801
expire end Thu Nov 20 04:20:40 MET 1997
expire begin Fri Nov 21 19:00:38 MET 1997: (-v1 -z/var/log/news/expire.rm)
Article lines processed 2124664
Articles retained 1974501
Entries expired 150163
Files unlinked 153567
Old entries dropped 213994
Old entries retained 1274627
expire end Fri Nov 21 19:07:40 MET 1997
System is a inn-1.7.insync-1.0a on a Linux-2.0.31 PPro 200 with
256 MB RAM.
Are there any known problems about the "-s" flag in expire?
Re: Expire problems...
Author: Bettina Fink
Date: Fri, 21 Nov 1997 00:00
Date: Fri, 21 Nov 1997 00:00
22 lines
1487 bytes
1487 bytes
Marc Slemko <marcs@znep.com> wrote: >> Are there any known problems about the "-s" flag in expire? > Not at all. It just happens to stat() every single article > that it decides to remove. That is a feature, not a problem. Yes, my fault, I thought the article size is put in history, I mixed it up with the overview files which are containing the article size. But I think one should put a warning in the INN FAQs or the expire man page which don't say something about that. > It just happens to take tens or hundreds of times longer than not > doing so. Yes, that's clear, I thought expire knows the article size from history and don't has to look for it itself.
Re: Expire problems...
Author: Ali Anghaie
Date: Fri, 21 Nov 1997 00:00
Date: Fri, 21 Nov 1997 00:00
38 lines
1991 bytes
1991 bytes
Requests for Further Spamming (abuse@coredump.int.tele.dk) wrote:
: Well, excellent. One problem is that people say that expire takes too
: long, without giving more details. Fortunately, you're pointing to expire
: itself as taking far longer than it should, so we won't offer you
: suggestions how to make fastrm go faster.
Alright... point well taken...
I watched my expire process closely for two days and here is what I found:
1) 'expire' itself takes entirely too long... I 'expire' to another drive
and that doesn't help what-so-ever... furthermore, it doesn't chew up and
processor time or memory...
2) The current 'history' files are in the 200 - 250MB range... and they'll
be getting closer and beyond 500MB when the new spool drives come in...
3) Fastrm is also taking a bit too long... but nothing that disturbs the
system I believe...
4) INN 1.7, P200, 128MB RAM, Seperate spindle for Overview and History,
seperate stripe for spool, seperate drive for expiring... umm...
Does this help anyone give me some clues?
--
- Ali A. (Amir-Ali R. Anghaie)
- ali@ece.ufl.edu - ali@hcs.ufl.edu
- ali@tec.ufl.edu - ali@inspi.ufl.edu
- ali@eel.ufl.edu - ali@afn.org
- ali@just.about.everywhere.else.too
{ Any opinions herein are not facts :) }
Re: Expire problems...
Author: Anthony Kueh
Date: Fri, 21 Nov 1997 00:00
Date: Fri, 21 Nov 1997 00:00
61 lines
3023 bytes
3023 bytes
This seems to have sped up my expire quite a bit as mentioned it should. However, now my expireover seems to take a while also. It shouldn't be a sorting problem because the expire.rm file is sorted. Is this basically just a raw memory/HD speed problem? -Tony Bettina Fink wrote in message <654jr4$pq1$1@krell.snafu.de>... >Requests for Further Spamming <abuse@coredump.int.tele.dk> wrote: > >> On Wed, 19 Nov 1997, Anthony Kueh wrote: >>> I seem to have the same problem.. but it doesn't take as long.. usually >>> around 10-11 hours. However, I know this is not suppose to take this long. >>> Most of the time is spent in "expire", and not "expireover" or "fastrm". > >> Well, excellent. One problem is that people say that expire takes too >> long, without giving more details. Fortunately, you're pointing to expire >> itself as taking far longer than it should, so we won't offer you >> suggestions how to make fastrm go faster. > >I recognized something really strange today: EXPIREFLAGS were >"-v1" at my server. After adding the "-s" flag to get the summary >line, the time expire (I use the delayrm option) needs to run >through my history and rebuild it went from about 10 minutes to >1 1/2 hours. I changed it back to "-v1" again and now rebuilding >my 255 MB history takes only 7 minutes in expire again. > >expire begin Thu Nov 20 03:00:42 MET 1997: (-v1 -s -z/var/log/news/expire.rm) > Removed approximately 367228k > Article lines processed 2126658 > Articles retained 2017919 > Entries expired 108739 > Files unlinked 124797 > Old entries dropped 139263 > Old entries retained 1491801 >expire end Thu Nov 20 04:20:40 MET 1997 > > >expire begin Fri Nov 21 19:00:38 MET 1997: (-v1 -z/var/log/news/expire.rm) > Article lines processed 2124664 > Articles retained 1974501 > Entries expired 150163 > Files unlinked 153567 > Old entries dropped 213994 > Old entries retained 1274627 >expire end Fri Nov 21 19:07:40 MET 1997 > > >System is a inn-1.7.insync-1.0a on a Linux-2.0.31 PPro 200 with >256 MB RAM. > >Are there any known problems about the "-s" flag in expire?
Re: Expire problems...
Author: Marc Slemko
Date: Fri, 21 Nov 1997 00:00
Date: Fri, 21 Nov 1997 00:00
12 lines
1030 bytes
1030 bytes
In <654jr4$pq1$1@krell.snafu.de> Bettina Fink <laura@krell.snafu.de> writes: >Are there any known problems about the "-s" flag in expire? Not at all. It just happens to stat() every single article that it decides to remove. That is a feature, not a problem. It just happens to take tens or hundreds of times longer than not doing so.
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