Thread View: news.software.nntp
6 messages
6 total messages
Started by Christopher Smith
Mon, 22 Apr 1996 00:00
History Lookup Problems
Author: Christopher Smith
Date: Mon, 22 Apr 1996 00:00
Date: Mon, 22 Apr 1996 00:00
23 lines
1375 bytes
1375 bytes
We are having some problems with an extremely slow history file lookup
and were wondering if anyone else out there has had similar problems or
any insight. The symptoms are:
- "ihave" and "check" lookup times are really slow,
generally around three seconds, but we have
seen them in upwards of ten to twelve seconds.
- our history file is not excessively large -- we
keep it well trimmed.
- We are taking in three feeds, and at least one of
them is streaming mode
- We have about 128 MB RAM
- INND looks like it is constantly page-faulting the
history file when checking articles
If anyone has any ideas, please let me know.
Thanks In Advance,
Chris Smith - chsmith@syr.edu
Syracuse University Network Systems
Re: History Lookup Problems
Author: Dave Barr
Date: Tue, 23 Apr 1996 00:00
Date: Tue, 23 Apr 1996 00:00
15 lines
1187 bytes
1187 bytes
In article <4lguvk$7p5@terra-x.syr.edu>, Christopher Smith <chsmith@terra-x.syr.edu> wrote: >We are having some problems with an extremely slow history file lookup >and were wondering if anyone else out there has had similar problems or >any insight. The symptoms are: I've heard reports (sadly nobody has confirmed this to me) that corrupt history files can cause slow history lookups. I suggest you try running 'fixhist' as suggested in the INN FAQ and see of that helps. (it's a good idea to run it every once in a while anyway, especially after crashes) --Dave
Re: History Lookup Problems
Author: Jerry Aguirre
Date: Wed, 24 Apr 1996 00:00
Date: Wed, 24 Apr 1996 00:00
21 lines
1766 bytes
1766 bytes
In article <gergDqCBpz.Irn@netcom.com> gerg@netcom.com (Greg Andrews) writes: >I didn't test it with the INN servers (I was in a hurry to get expire >working again), so I don't know if they'll have the same problem. >Based on past discussions of the dbz internals in this newsgroup, >I tend to think INN could have similar problems if the database >isn't built right. I havn't looked at C news but INN's expire does not recalculate the DBZ tag size as the history file grows. If you start out with the default 24 bit seek + 7 bit tag + 1 bit flag then once your history is bigger than 2**24 (16 Meg.) DBZ stops using tags. Without the tags DBZ has to look into the history file to compare IDs generating more IO. Anyone with a significant feed is going to have a history file over 16 Meg. by now. Rebuilding the DBZ with the makehistory -r proceedure corrects the problem as it does calculate the tags size based on the size of the history file. Given that any editing of the history file is going to require rebuilding the DBZ the improvement may be just due to that step.
Re: History Lookup Problems
Author: Rich Salz
Date: Fri, 26 Apr 1996 00:00
Date: Fri, 26 Apr 1996 00:00
11 lines
976 bytes
976 bytes
In <4llq93$mle@olivea.ATC.Olivetti.Com> jerry@strobe.ATC.Olivetti.Com (Jerry Aguirre) writes: >I havn't looked at C news but INN's expire does not recalculate the >DBZ tag size as the history file grows. Do grep dbzfre makehistory.c expire.c The resultant 12-byte fix should be obvious. :) /r$
Re: History Lookup Problems
Author: Jerry Aguirre
Date: Mon, 29 Apr 1996 00:00
Date: Mon, 29 Apr 1996 00:00
29 lines
1794 bytes
1794 bytes
Cc: In article <4lpjai$8q9@paperboy.osf.org> rsalz@osf.org (Rich Salz) writes: >In <4llq93$mle@olivea.ATC.Olivetti.Com> jerry@strobe.ATC.Olivetti.Com (Jerry Aguirre) writes: >>I havn't looked at C news but INN's expire does not recalculate the >>DBZ tag size as the history file grows. > >Do > grep dbzfre makehistory.c expire.c >The resultant 12-byte fix should be obvious. :) > /r$ Not sure it can be done in 12 bytes. The tag size should be based on the size in bytes of the history file. That is not directly available so it needs to be obtained. In fact now that I check makehistory it looks like it uses the size in lines to calculate the tag size? The primary hash used by DBZ is based on the number of entries, i.e. lines in the history file. This is so that there will be a good chance of finding an empty entry in the history.pag file. But the tag size is based on the size of the seek offsets and that is based on the byte size of the history file. Other than more lines meaning more bytes there is no direct relationship between the two sizes.
Re: History Lookup Problems
Author: Alan Brown
Date: Mon, 29 Apr 1996 00:00
Date: Mon, 29 Apr 1996 00:00
20 lines
1423 bytes
1423 bytes
In article <4llq93$mle@olivea.atc.olivetti.com>, Jerry Aguirre <jerry@strobe.ATC.Olivetti.Com> wrote: >I havn't looked at C news but INN's expire does not recalculate the >DBZ tag size as the history file grows. If you start out with the Are you sure Jerry? I thought that the new history.n.DBZ was passed a figure based on the current number of lines in history. AB -- "But you can't say they have arrived to classify your nervous lies What's right, what's not, what may not be. Don't try your tricky tests on me For I won't live in fear my friend - that every day could be my end"
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