Thread View: news.software.nntp
12 messages
12 total messages
Started by Ernie Oporto
Tue, 06 Jan 1998 00:00
Rebuilding history database while doing crossposting?
Author: Ernie Oporto
Date: Tue, 06 Jan 1998 00:00
Date: Tue, 06 Jan 1998 00:00
17 lines
1069 bytes
1069 bytes
I'd like to rebuild my history database, but keep getting an error. I am assuming this is because I have symbolic links due to crosspost handling. My question is, am I really saving on disk space by crossposting, or should I just can that so that I can be sure to rebuild my history database? If I should keep the crossposting, what can I do to fix my history database? It's now at 149MB and probably shouldn't be that large. -Ernie
Re: Rebuilding history database while doing crossposting?
Author: Charlie Reboot
Date: Tue, 06 Jan 1998 00:00
Date: Tue, 06 Jan 1998 00:00
14 lines
1037 bytes
1037 bytes
On 37 Dec 1997, Andrew wrote: > 149MB isn't very large for a history database these days: > -rw-rw-r-- 1 news news 397459185 Jan 6 11:19 history Are you tempting me? Barry Bouwsma, News Overkill hmmm, didn't see news.software.nntp.dicksize-wars in the round o' newgroups
Re: Rebuilding history database while doing crossposting?
Author: Andrew
Date: Tue, 06 Jan 1998 00:00
Date: Tue, 06 Jan 1998 00:00
21 lines
1508 bytes
1508 bytes
Ernie Oporto <ernie_oporto@mentorg.com> wrote: > My question is, am I really saving on disk space by crossposting, or should > I just can that so that I can be sure to rebuild my history database? You're definitely saving disk space, but you should, if possible, be using hard links instead of soft links. Hard links are quite a bit faster in an I/O intensive environment like news. > If I should keep the crossposting, what can I do to fix my history database? > It's now at 149MB and probably shouldn't be that large. 149MB isn't very large for a history database these days: -rw-rw-r-- 1 news news 397459185 Jan 6 11:19 history -- Andrew O. Smith - <aos@insync.net> | "Especially if your kids enjoy Sysadmin, Insync Internet Services | jokes about hashish and sexy, Houston, Texas, USA | sexy dancers." --Mr. Laupin
Re: Rebuilding history database while doing crossposting?
Author: Another Victim of the Usenet Maf...
Date: Wed, 07 Jan 1998 00:00
Date: Wed, 07 Jan 1998 00:00
32 lines
1973 bytes
1973 bytes
On 38 Dec 1997, Jan Isley wrote: [*bobbit*] > Actually I just chopped off 2/7ths of it two days ago when I went from I'm going to leave this one alone. It's too tempting. > Your's is bigger, today. However, with sufficient taunting, I can > call you bet, and raise a few... ;) Ah, but you see, *I* have a head start. <clickety-click> news@news-feed.inet.tele.dk:/home/news>grep ^/r /news/etc/expire.ctl /remember/:365 news@news-feed.inet.tele.dk:/home/news>df -k /news/spool/hist/ Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ccd2c 8114124 1158925 6306070 16% /news/spool/hist news@news-feed.inet.tele.dk:/home/news> *And* I have some headroom, and a heap o' empty drives ready to be added. Methinks I'll be finding a few more limitations to the various dbz types before the end of the year, to say nothing of the 32M 486/66. Barry Bouwsma, followup to poster or somewhere else, please why don�t I just nail this thang to the floor and spin around in this chair for a while
Re: Rebuilding history database while doing crossposting?
Author: Another Victim of the Usenet Maf...
Date: Wed, 07 Jan 1998 00:00
Date: Wed, 07 Jan 1998 00:00
59 lines
3753 bytes
3753 bytes
On 38 Dec 1997, Jan Isley wrote: > Look at the size of that thing! -- Luke Skywalker Well, you may got the length thar, but how big around are you? news@news-feed.inet.tele.dk:/home/news>ls -l /news/spool/hist/ total 1152460 -rw-r--r-- 1 news news 1038336 Jan 5 23:49 badhistory.gz -rw-rw-r-- 1 news news 816143629 Jan 7 17:40 history -rw-rw-r-- 1 news news 120 Jan 7 17:40 history.dir -rw-r--r-- 1 news news 156 Jan 5 23:49 history.dir-64-bit -rw-rw-r-- 1 news news 159 Jan 6 09:16 history.dir-USE-ME -rw-r--r-- 1 news news 124 Jan 5 23:49 history.dir-old -rw-r--r-- 1 news news 50 Jan 5 23:49 history.dir-v6.0 -rw-rw-r-- 1 news news 108000000 Jan 7 17:40 history.hash -rw-rw-r-- 1 news news 72000000 Jan 7 17:40 history.index -rw-rw-r-- 1 news news 182255704 Jan 6 09:41 history.pag-old -rw-r--r-- 1 news news 23079 Jan 5 23:52 reallybadhistory news@news-feed.inet.tele.dk:/home/news>cat !$/history.dir cat /news/spool/hist//history.dir dbz 6 18000000 10 66 10780667 11424133 10608109 11390970 11167562 11051728 11014846 11048636 11194578 11253967 news@news-feed.inet.tele.dk:/home/news> That is, our history file is remembering just under 12 million entries, and is likely to exceed that soon now that the holidays are over. And you? The thing about these whoppers is that they point out flaws in the history database design which otherwise wouldn�t be discovered until it's too late. The common practice nowadays is to run with a shortened /remember/ time, which results in a smaller history file and better performance. But today's 14 day history file you see above is tomorrow's 7 day file. Well, maybe not tomorrow, but next week's, or next month... Another thing which astute observers will note is that I've just experimentally switched over from a hacked 64-bit dbz v3.2 (that old .pag file) to the v6.0 dbz in use in INN 1.8, but which required heavy modification to the code here during which some, um, how we say, undocumented features appear to have been introduced. Nevertheless, the reason I felt I should give v6.0 a try, apart from guaranteeing job security when nobody can figure out what the hell has been done to the bloody server, is that I've discovered what I suspect to be an OS or filesystem problem which is killing single-threaded INN's performance. Unfortunately, this problem appears to plague the latest dbz code as well (along with my own enhancements), so that now I've been giving far more thought to a rewrite of dbz along the lines as discussed a while back by a certain Scott with a certain Joe outside this forum, which would be far more scalable than dbz v6.0 seems to be. Barry Bouwsma will not expire for food
Re: Rebuilding history database while doing crossposting?
Author: Jan Isley
Date: Wed, 07 Jan 1998 00:00
Date: Wed, 07 Jan 1998 00:00
29 lines
1810 bytes
1810 bytes
According to Another Victim of the Usenet Mafia <ag786@yfn.ysu.edu>: > On 38 Dec 1997, Jan Isley wrote: > > > Look at the size of that thing! -- Luke Skywalker > > Well, you may got the length thar, but how big around are you? Actually I just chopped off 2/7ths of it two days ago when I went from remember 14 to remember 10. > cat /news/spool/hist//history.dir > dbz 6 18000000 10 66 > 10780667 11424133 10608109 11390970 11167562 11051728 11014846 11048636 11194578 11253967 dbz 3 16770311 9 C 536870912 536870911 34 8 7 6 5 4 3 2 1 0 8854977 9202943 9230817 11045993 11180198 10960212 10892945 10929285 10993012 10863688 10619310 Your's is bigger, today. However, with sufficient taunting, I can call you bet, and raise a few... ;) > today's 14 day history file you see above is tomorrow's 7 day file. Well, > maybe not tomorrow, but next week's, or next month... Yes, all smiles aside, the future is going to be interesting. -Jan
Re: Rebuilding history database while doing crossposting?
Author: Andrew
Date: Wed, 07 Jan 1998 00:00
Date: Wed, 07 Jan 1998 00:00
14 lines
1220 bytes
1220 bytes
Charlie Reboot <f00fc7c8@int.tele.dk> wrote: > Are you tempting me? I realized right after I posted that that I was just _asking_ for another dick size war. :-) Don't be tempted. Pretend I didn't post it. The point was history is large. Leave it at that. :) -- Andrew O. Smith - <aos@insync.net> | "Especially if your kids enjoy Sysadmin, Insync Internet Services | jokes about hashish and sexy, Houston, Texas, USA | sexy dancers." --Mr. Laupin
Re: Rebuilding history database while doing crossposting?
Author: Simon Lyall
Date: Wed, 07 Jan 1998 00:00
Date: Wed, 07 Jan 1998 00:00
21 lines
1514 bytes
1514 bytes
Jan Isley <jisley@eng.mindspring.net> wrote:
>No, I won't do it. No, really. Well... maybe just once. ;)
Hmm, Im worried that mine is getting too big, I have a remember of 17 days
and I think it might be too big, does anyone know of any patches that I
can install to reduce the size or should I just cut remember?
I am about to install 1.7.2 so any useful patches agaist that would be
great.
-rw-rw-r-- 1 news news 4301050 Jan 7 23:03 history
--
Simon Lyall. | Looking for Work | Mail: simon@darkmere.gen.nz
"Inside me Im Screaming, Nobody pays any attention." | MT.
Beat the Aardvark odds and win free web hosting!
http://homepages.ihug.co.nz/~mt/aardcomp.html
Re: Rebuilding history database while doing crossposting?
Author: brian moore
Date: Wed, 07 Jan 1998 00:00
Date: Wed, 07 Jan 1998 00:00
30 lines
1735 bytes
1735 bytes
In article <68v7vr$6oe$10@synthemesc.insync.net>, Andrew <aos@insync.net> writes: > Charlie Reboot <f00fc7c8@int.tele.dk> wrote: >> Are you tempting me? > > I realized right after I posted that that I was just _asking_ for another > dick size war. :-) Don't be tempted. Pretend I didn't post it. The > point was history is large. Leave it at that. :) Bah: lrwxrwxrwx 1 news news 9 Dec 6 12:47 history -> /dev/null lrwxrwxrwx 1 news news 9 Dec 6 12:47 spool -> /dev/null I take more articles a second than you. But: lrwxrwxrwx 1 news news 9 Dec 6 12:47 active -> /dev/null I reject 'em all! I have the spool of infinite depth! And no more pesky spam! -- Brian Moore Kill A Spammer For Jesus Sysadmin, C/Perl Hacker
Re: Rebuilding history database while doing crossposting?
Author: Jan Isley
Date: Wed, 07 Jan 1998 00:00
Date: Wed, 07 Jan 1998 00:00
16 lines
1177 bytes
1177 bytes
According to Andrew <aos@insync.net>: > Charlie Reboot <f00fc7c8@int.tele.dk> wrote: > > Are you tempting me? ... > Don't be tempted. No, I won't do it. No, really. Well... maybe just once. ;) -rw-rw-r-- 1 news news 785604416 Jan 7 01:57 history -Jan Look at the size of that thing! -- Luke Skywalker
Re: Rebuilding history database while doing crossposting?
Author: David Carmean
Date: Wed, 14 Jan 1998 00:00
Date: Wed, 14 Jan 1998 00:00
42 lines
2389 bytes
2389 bytes
Another Victim of the Usenet Mafia <barry@vszbr.cz> wrote: : On 38 Dec 1997, Jan Isley wrote: : > Look at the size of that thing! -- Luke Skywalker Yeah, but how long does it take you? But seriously, folks, how fast do your history rebuilds run? I'm running CNFS 971012, Sang-yong's dbz-v3.3.2, on a P-Pro 200, FreeBSD-2.2.5-STABLE, and the history files are on a Seagate Hawk. The history textfile is ~~300MB, and the .pag file is about 10%, or 33MB. I've got no incoming news to tie up the history file, and yet it's being rebuilt at less than 1/2MB per minute. Systat shows the drive seeking ~60HZ. I discovered that all the seeks are write-related, by using -d to place the .n files in another directory. I've tried two-spindle ccds with interleaves of 32 blocks and 65,535 blocks. The fastest was the latter, but still only .6MB/minute. All other disk traffic is negligible, and the CPU is at 96% idle. At this rate, it's going to take me ten hours to rebuild/expire the history table, and that's with only a five-day remember setting. Oh yeah, and my hishave() times have climbed from ~10mSec to 50-75mSec. Help? Please? <whimper> -- David Carmean <dlc@avtel.net> Avtel Communications, Santa Barbara, CA +1-805-730-7740 Opinions herein are those of the author only, unless otherwise noted "Karma Police, arrest this man!" --Radiohead
Re: Rebuilding history database while doing crossposting?
Author: Charlie Reboot
Date: Thu, 15 Jan 1998 00:00
Date: Thu, 15 Jan 1998 00:00
61 lines
3470 bytes
3470 bytes
On 45 Dec 1997, David Carmean wrote: > Another Victim of the Usenet Mafia <barry@vszbr.cz> wrote: > : On 38 Dec 1997, Jan Isley wrote: > > : > Look at the size of that thing! -- Luke Skywalker > > Yeah, but how long does it take you? Pretty much most of a lazy summer afternoon. But up north here, the nights are long, and so I try to make the most of them... > But seriously, folks, how fast do your history rebuilds run? Heh, you want it fast and quick, or you want to take it slow an' enjoy it? Like I say, the nights are long, but that's also a peak for news, so I gotta rebuild by day, and there aren't as many hours as there used to be. Typically between 15 and 30 minutes. This is with a history text file that's now up to more than 950 megabytes in size tops with nearly 13 million entries, and using Clayton O'Neill's dbz v6.0 as shamelessly stolen from a recent INN 1.8 snapshot. However, I can see that in spite of the numbers in the .dir file, the two .hash and .index files have overflowed or are somehow significantly larger than they were immediately after rebuilding. I probably need to adjust some of the parameters, but first I think I should learn just how it works before I go bumping around under the hood. > Oh yeah, and my hishave() times have climbed from > ~10mSec to 50-75mSec. > Help? Please? > <whimper> Well, I'm almost satisfied that the hideously-hacked CNFS+dbz-v6.0 that I'm running here is stable enough to be made public, since the alternative having been used here most recently (history accelerator mega-cache) had serious flaws that required major surgery to work around. There are still flaws apparent when dealing with huge database files like we have, at least with the OS and filesystem in use here, which is probably making our performance less than it could be. In a few minutes I'll see how bad this machine was doing for the last day, but a previous report showed out of nearly 18 million articles offered, our history lookup times ranged from 0,021ms upwards with an average of just under 0,4ms. My feeling is that this hacked CNFS snapshot would have far more impressive numbers at a site with a slightly more realistic size of history file and a slightly more sane newsadmin. If I don't get distracted by something else, I'll try to get it up one of these nights. Barrry Bouwsma, the detrimental influence upon the Tele Danmark Internet news swervers
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