Thread View: news.software.nntp
15 messages
15 total messages
Started by Jon Mansey
Tue, 28 Jul 1998 00:00
missing articles problem
Author: Jon Mansey
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
25 lines
1212 bytes
1212 bytes
Hi, I am running INN 1.7.2 on a 200MHz Linux 2.0.33 box with 10G scsi raid spool. I am being fed news from 2 or 3 uunet Diablo boxes via a DS3. I seem to be missing a lot of articles. Most noticeable are that binary posts are mostly incomplete, in fact often only 2 of 15 parts show up. The load hovers around 1.1 and never goes above 1.5. Can anyone suggest what may be the problem? UUnet tell me I have a backlog of about 6Mb on each server. Could this be the problem? How do I speed up my box to keep up? Any tips gratefully received. Pls reply by email also, as I hardly get any news.software.nntp messages :-( Cheers, Jon.
Re: missing articles problem
Author: Matt Dillon
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
46 lines
2723 bytes
2723 bytes
:In article <6plc21$eik$1@newssvr09-int.news.prodigy.com>,
:bill davidsen <davidsen@tmr.com> wrote:
:>In article <6pjv5q$c62$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
:>
:>| In regards to the backlog... 6mb as in 6MBytes? That's a tiny backlog.
:>| Backlog problems can be due to many, many different factors. Memory,
:>| disk, disk topology, remember time in diablo.config (which effects the
:>| size of the history file), CRC errors on the ethernet (which stalls tcp
:>| connections, slowing the mdown), number of incoming and outgoing feeds,
:>| and so forth.
:>
:>Unless you fee uucp, the file you see as backlog is just the list of
:>message-id's or maybe filename+MID. Point is that if there's a 6MB
:>backlog in innfeed you have a real problem.
:>
:>He didn't clarify how the backlog was measured, but I certainly just
:>look at the filesize, or batches in Diablo. If someone is really hot for
:>exact numbers I might use wc to count the articles ;-)
:>
:>--
>Bill Davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc
Yah, and I misinterpreted the question too... I thought *he* was the
one running the diablo feeder. No, he's running INN and his feeds are
running Diablo feeders.
In that case the backlog is the queue file content and 6mb would be
a really bad backlog.
What I would do is run,... ahhh, I think it's 'strace' on a linux box.
Run strace on innd and see whether it is blocking on network traffic
or blocking on file I/O. If it isn't blocking anywhere it's a cpu
problem. If it's blocking on network traffic it's a network pipe problem.
If it's blocking on file I/O a lot it's a disk and/or memory problem
(possibly caused by a bad configuration or simply an insufficiently
endowed box).
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: missing articles problem
Author: Daniel W. Halverson
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
59 lines
2482 bytes
2482 bytes
Just a comment: We just moved to INN-2.0 with CNFS on Linux 2.0.35. You
don't
say how many spindles you have, but the more drives the better. I didn't
believe
the difference until the new system. With 25 drives, we're maxing a T1, and
the
drive lights flash about once a second for reads. We get a buffer flush
every 5
seconds that lights every drive, but other than that, it's almost totally
idle.
We had the same problems as you're having, and it was just that we couldn't
keep
up with the incoming feeds. Once the feed backlog exceeded a certain amount
the sending site started dropping the oldest...
One nice thing with INN-2.0 is that it gives some stats on where INN is
spending it's
time during the day. For example, right now I can see that 25% of the time
INN is
in the history routine. We're probably going to move the history database
over to
a mirrored drive to improve the speed and reduce latency.
Good Luck
Dan
Jon Mansey wrote in message ...
>Hi,
>
>I am running INN 1.7.2 on a 200MHz Linux 2.0.33 box with 10G scsi raid
spool.
>
>I am being fed news from 2 or 3 uunet Diablo boxes via a DS3.
>
>I seem to be missing a lot of articles. Most noticeable are that binary
>posts are mostly incomplete, in fact often only 2 of 15 parts show up.
>
>The load hovers around 1.1 and never goes above 1.5.
>
>Can anyone suggest what may be the problem?
>
>UUnet tell me I have a backlog of about 6Mb on each server. Could this be
>the problem? How do I speed up my box to keep up?
>
>Any tips gratefully received.
>
>Pls reply by email also, as I hardly get any news.software.nntp messages
:-(
>
>Cheers,
>
>Jon.
Re: missing articles problem
Author: bill davidsen
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
25 lines
1921 bytes
1921 bytes
In article <6pjv5q$c62$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote: | In regards to the backlog... 6mb as in 6MBytes? That's a tiny backlog. | Backlog problems can be due to many, many different factors. Memory, | disk, disk topology, remember time in diablo.config (which effects the | size of the history file), CRC errors on the ethernet (which stalls tcp | connections, slowing the mdown), number of incoming and outgoing feeds, | and so forth. Unless you fee uucp, the file you see as backlog is just the list of message-id's or maybe filename+MID. Point is that if there's a 6MB backlog in innfeed you have a real problem. He didn't clarify how the backlog was measured, but I certainly just look at the filesize, or batches in Diablo. If someone is really hot for exact numbers I might use wc to count the articles ;-) -- Bill Davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc What do you mean I shouldn't do things like that at my age? At my age if you don't do things like that you might die of natural causes or boredom!
Re: missing articles problem
Author: Matt Dillon
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
26 lines
1595 bytes
1595 bytes
:In article <6pk09o$la4$1@enterprise.cistron.nl>,
:Miquel van Smoorenburg <miquels@cistron.nl> wrote:
:>In article <6pjv5q$c62$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
:>>:In article <newsmaster-2807980024310001@192.168.2.10>,
:>>:Jon Mansey <newsmaster@interpacket.net> wrote:
:>>:>
:>>:>I am running INN 1.7.2 on a 200MHz Linux 2.0.33 box with 10G scsi raid spool.
:>>
:>> Check dexpire.ctl. Read the comments in samples/dexpire.ctl carefully.
:>
:>Hmm you must be thinking about confusing things like CR/LF conversions
:>too much Matt ;)
:>
:>Mike.
Hey, I'm getting better! Now I'm only staying up to 1:00 a.m. and waking
up before noon which, for me, is a virtual miracle.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: missing articles problem
Author: Charlie Fluffy
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
19 lines
1549 bytes
1549 bytes
On 28 Jul 1998, Matt Dillon wrote: > :>>:>I am running INN 1.7.2 on a 200MHz Linux 2.0.33 box with 10G scsi raid spool. > :>> Check dexpire.ctl. Read the comments in samples/dexpire.ctl carefully. > :>Hmm you must be thinking about confusing things like CR/LF conversions > :>too much Matt ;) > > Hey, I'm getting better! Now I'm only staying up to 1:00 a.m. and waking > up before noon which, for me, is a virtual miracle. Yeah, but the big question is, how often do you do this? I've found from experience that if I only do this three times a week, my concentration suffers at important moments, while if I wake up at least five times a week, I do noticeably better. Not that anyone else can tell a difference, mind you
Re: missing articles problem
Author: Miquel van Smoorenburg
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
17 lines
1217 bytes
1217 bytes
In article <6pjv5q$c62$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
>:In article <newsmaster-2807980024310001@192.168.2.10>,
>:Jon Mansey <newsmaster@interpacket.net> wrote:
>:>
>:>I am running INN 1.7.2 on a 200MHz Linux 2.0.33 box with 10G scsi raid spool.
>
> Check dexpire.ctl. Read the comments in samples/dexpire.ctl carefully.
Hmm you must be thinking about confusing things like CR/LF conversions
too much Matt ;)
Mike.
--
Miquel van Smoorenburg | Our vision is to speed up time,
miquels@cistron.nl | eventually eliminating it.
Re: missing articles problem
Author: Curt Welch
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
68 lines
3977 bytes
3977 bytes
newsmaster@interpacket.net (Jon Mansey) wrote: > Hi, > > I am running INN 1.7.2 on a 200MHz Linux 2.0.33 box with 10G scsi raid > spool. > > I am being fed news from 2 or 3 uunet Diablo boxes via a DS3. > > I seem to be missing a lot of articles. Most noticeable are that binary > posts are mostly incomplete, in fact often only 2 of 15 parts show up. > > The load hovers around 1.1 and never goes above 1.5. > > Can anyone suggest what may be the problem? You don't say how much news you are trying to get nor do you tell us how many drives make up that 10G spool, but in general, your problem is that your inn box isn't accepting articles quick enough to keep up with the feed. This is what causes the backlog, and when the backlog gets to large, the feeding boxes will start droping ariticles. This is a very common problem with inn systems. Your server doesn't "look" overloaded, but it is. One thing that will really slow down the server is a news group directory with too many files (>10K). The most common one that causes this problem is the control/cancle directory. If this fills up with thousands of cancel articles then the server will take seconds instead of milliseconds to add new articles - and since INN does disk IO in a serial fashion, this will slow down everything. Make sure your expire control messages quickly and look into other soultions like not accepting cancel messages or geting one of the patches to inn to distribute the cancel articles across multiple directories. I just do a rm -rf control/cancel from cron every 5 minutes. Check other high volume groups as well like the jobs groups. (just sort a copy of your active file by article as way to find the high volume grouops). Another common problem is not having enough disks. inn needs lots of disks to spread disk IO over to keep it from backloging. You need something like 8 to 10 fast (7200 RPM or better) SCSI disks to keep up with a full feed these days (with the inn conventional storage format). If your 10G spool is made up of 5 2G drives then you probably can't keep up with a full feed, but you're not too far away from making it work. If it's made of drives larger than 2G, then there's no way the system will be able to keep up with a full feed. As the other guy said, you might try upgrading to inn 2.0 with CNFS. That really increases performance (by cutting down on the disk IO requirements). I'm not real happy with inn 2.0 because of overview performance and related problems, but you can't beat it for raw article accept speed. On one server I tried it on, it increased performance from 25 articles per second with inn 1.7.2 to 75 to 100 articles per second with inn 2.0 and CNFS. Upgrading to 2.0 is a lot cheaper than buying new disks and controlers :). There are various web sites people have created with notes and tips about fixing inn problems but I don't have them handy. Search Dejanews or the web for inn performance tips and I think you might find some good references. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: missing articles problem
Author: Matt Dillon
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
61 lines
2760 bytes
2760 bytes
:In article <newsmaster-2807980024310001@192.168.2.10>,
:Jon Mansey <newsmaster@interpacket.net> wrote:
:>Hi,
:>
:>I am running INN 1.7.2 on a 200MHz Linux 2.0.33 box with 10G scsi raid spool.
:>
:>I am being fed news from 2 or 3 uunet Diablo boxes via a DS3.
:>
:>I seem to be missing a lot of articles. Most noticeable are that binary
:>posts are mostly incomplete, in fact often only 2 of 15 parts show up.
:>
:>The load hovers around 1.1 and never goes above 1.5.
:>
:>Can anyone suggest what may be the problem?
:>
:>UUnet tell me I have a backlog of about 6Mb on each server. Could this be
:>the problem? How do I speed up my box to keep up?
:>
:>Any tips gratefully received.
:>
:>Pls reply by email also, as I hardly get any news.software.nntp messages :-(
:>
:>Cheers,
:>
:>Jon.
Check dexpire.ctl. Read the comments in samples/dexpire.ctl carefully.
in some of the distributions the sample dexpire.ctl was just plain
broken in regards to binaries.
Also check for 'maxsize' specifications dnewsfeeds, they may be set too
low.
With more recent versions of diablo dexpire.ctl changed the expiration
mechanism from 'days' to 'percentage'. A modern expire.ctl on a
dedicated feeder machine might look like this:
*:100:c1.00:m1m
alt.*:80
*.advocacy:40
*.test:20
Generally speaking multi-part binary postings are posted at a slow enough
rate that the spam filter doesn't trigger on them, so the spam filter
is probably not causing your problem.
In regards to the backlog... 6mb as in 6MBytes? That's a tiny backlog.
Backlog problems can be due to many, many different factors. Memory,
disk, disk topology, remember time in diablo.config (which effects the
size of the history file), CRC errors on the ethernet (which stalls tcp
connections, slowing the mdown), number of incoming and outgoing feeds,
and so forth.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: missing articles problem
Author: Russ Allbery
Date: Wed, 29 Jul 1998 00:00
Date: Wed, 29 Jul 1998 00:00
34 lines
2163 bytes
2163 bytes
Joe Bernstein <josephb@tezcat.com> writes: > Curt Welch <curt@kcwc.com> wrote: >> Most the volume these days is in alt. I haven't seen recent figures >> but I'd guess that 3/4 of all news is in alt. So if you leave out >> alt.* you will have a good chance of keeping up using a 3 x 4G config >> (though it's still somewhat borderline). > Um, if that refers to only-a-Big 8-feed, then I wonder how much of > *that* is misc.jobs.*. If it refers to an everything-but-alt.* feed, > well, there's *tons* of fat in there, unless your users are just *dying* > to read the student newsgroups of the University of Waterloo in > Canada... nntp:~> du -s /news/spool/misc/jobs 129716 /news/spool/misc/jobs nntp:~> du -s /news/spool/news/lists/filters 388764 /news/spool/news/lists/filters nntp:~> grep jobs config/expire.ctl # Dump all jobs postings after a week; they generally aren't good longer and *.jobs*:A:0:7:7 nntp:~> grep filters config/expire.ctl # news.lists.filters contains large numbers of long spam NoCeMs, so we want news.lists.filters:A:0:7:7 news.lists.filters is a bigger problem than misc.jobs.* in terms of disk space usage for us. Admittedly, though, I'm running something similar to Cleanfeed, which is dumping an unknown quantity of the jobs spew on the floor, so maybe without that they're about equal. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: missing articles problem
Author: Curt Welch
Date: Wed, 29 Jul 1998 00:00
Date: Wed, 29 Jul 1998 00:00
74 lines
3726 bytes
3726 bytes
newsmaster@interpacket.net (Jon Mansey) wrote: > Hi, > > Thanks for some very enlightening responses to my problem. > > Just to fill in the gaps its 3 x 4G drives in a raid 0 spool. Im (trying > to) get a full feed, at least the big 8. Most the volume these days is in alt. I haven't seen recent figures but I'd guess that 3/4 of all news is in alt. So if you leave out alt.* you will have a good chance of keeping up using a 3 x 4G config (though it's still somewhat borderline). > It seems I have a couple of options: > > 1) try to tweak my 1.7.2 and stay below 10K files or > 2) upgrade to 2.0 > > I s'pose I'll have to upgrade then, inevitable really. > > Couple of dumb questions in the meantime: > > 1) How can I show the number of files in a partition or under a > directory? df -i (iused is the total number of files and directories) ls -f dir | wc -l ls -Rf dir | wc -l > 2) How can I tell how many articles/sec I am getting? I have a simple perl script which does a tail -f of the history file and calculates article age (simple differnce between the date in the article and the arivial time), and it calulates how many articles per second it's currently seeing. It spits out updated info for every line added to the history file. I just put it at http://kcwc.com/age if you want to try it. The concept of articles is impossible to define from the history file because of extra history records logged for cancles and something else (trashed articles?). But my script produces a rough approximation. And the article age stuff gives you a good feel for the backlog status. If your feeds are backlogged then all the aritcles will be hours old instead of minutes/seconds old. Of course bogus dates in articles cause some random garbage in those numbers. > 3) If I strace, can someone describe how to issue the strace command to > run behind INN. Don't know anything about it. > 4) What about INN 2.1, is that the latest release? Is there a painless > step by step upgrade how-to somewhere? 2.1 is the latest as far as I know. Check www.isc.org. Read the doc files and man pages and that will give you most of what you need to know (but it's a bit confusing). Haven't seen any simple step by step procedures. It won't be easy to convert your system without having some pain unless you have a test system you can practice with first. Also, memory can really help overcome borderline drive performance issues (or really hurt if you don't have enough). I'd say you need at least 128MB and 256MB to 512MB wouldn't hurt. If you have less than 128MB you need more memory. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: missing articles problem
Author: Jon Mansey
Date: Wed, 29 Jul 1998 00:00
Date: Wed, 29 Jul 1998 00:00
74 lines
3559 bytes
3559 bytes
Hi, Thanks for some very enlightening responses to my problem. Just to fill in the gaps its 3 x 4G drives in a raid 0 spool. Im (trying to) get a full feed, at least the big 8. It seems I have a couple of options: 1) try to tweak my 1.7.2 and stay below 10K files or 2) upgrade to 2.0 I s'pose I'll have to upgrade then, inevitable really. Couple of dumb questions in the meantime: 1) How can I show the number of files in a partition or under a directory? 2) How can I tell how many articles/sec I am getting? 3) If I strace, can someone describe how to issue the strace command to run behind INN. 4) What about INN 2.1, is that the latest release? Is there a painless step by step upgrade how-to somewhere? Thanks for the invaluable advice. Jon. In article <6ple2a$a5i$1@flea.best.net>, dillon@best.net (Matt Dillon) wrote: > :In article <6plc21$eik$1@newssvr09-int.news.prodigy.com>, > :bill davidsen <davidsen@tmr.com> wrote: > :>In article <6pjv5q$c62$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote: > :> > :>| In regards to the backlog... 6mb as in 6MBytes? That's a tiny backlog. > :>| Backlog problems can be due to many, many different factors. Memory, > :>| disk, disk topology, remember time in diablo.config (which effects the > :>| size of the history file), CRC errors on the ethernet (which stalls tcp > :>| connections, slowing the mdown), number of incoming and outgoing feeds, > :>| and so forth. > :> > :>Unless you fee uucp, the file you see as backlog is just the list of > :>message-id's or maybe filename+MID. Point is that if there's a 6MB > :>backlog in innfeed you have a real problem. > :> > :>He didn't clarify how the backlog was measured, but I certainly just > :>look at the filesize, or batches in Diablo. If someone is really hot for > :>exact numbers I might use wc to count the articles ;-) > :> > :>-- > >Bill Davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc > > Yah, and I misinterpreted the question too... I thought *he* was the > one running the diablo feeder. No, he's running INN and his feeds are > running Diablo feeders. > > In that case the backlog is the queue file content and 6mb would be > a really bad backlog. > > What I would do is run,... ahhh, I think it's 'strace' on a linux box. > Run strace on innd and see whether it is blocking on network traffic > or blocking on file I/O. If it isn't blocking anywhere it's a cpu > problem. If it's blocking on network traffic it's a network pipe problem. > If it's blocking on file I/O a lot it's a disk and/or memory problem > (possibly caused by a bad configuration or simply an insufficiently > endowed box). > > -Matt
Re: missing articles problem
Author: Joe Bernstein
Date: Wed, 29 Jul 1998 00:00
Date: Wed, 29 Jul 1998 00:00
15 lines
1304 bytes
1304 bytes
In article <19980729113539.096$c2@newsreader.com>, Curt Welch <curt@kcwc.com> wrote: > Most the volume these days is in alt. I haven't seen recent figures > but I'd guess that 3/4 of all news is in alt. So if you leave out alt.* > you will have a good chance of keeping up using a 3 x 4G config (though > it's still somewhat borderline). Um, if that refers to only-a-Big 8-feed, then I wonder how much of *that* is misc.jobs.*. If it refers to an everything-but-alt.* feed, well, there's *tons* of fat in there, unless your users are just *dying* to read the student newsgroups of the University of Waterloo in Canada... - JLB
Re: missing articles problem
Author: bill davidsen
Date: Wed, 29 Jul 1998 00:00
Date: Wed, 29 Jul 1998 00:00
38 lines
2357 bytes
2357 bytes
In article <newsmaster-2807982242510001@192.168.2.10>, Jon Mansey <newsmaster@interpacket.net> wrote: | Couple of dumb questions in the meantime: | | 1) How can I show the number of files in a partition or under a directory? With CNFS that has little to no meaning. However, you can pull the XOVER info and post process that to get a number of useful stats. | 2) How can I tell how many articles/sec I am getting? Count noses in the "news" log file to see how many lines appear in each sec. Look at innreport. Run artrate from newstools. | 3) If I strace, can someone describe how to issue the strace command to | run behind INN. The strace man page is pretty clear on this, read and understand the -c option, that's the one I use to see what's up over a minute or so. | 4) What about INN 2.1, is that the latest release? Is there a painless | step by step upgrade how-to somewhere? I haven't had it up quite long enough to say for sure that it's better, but I would go there if I were doing a conversion. I see no obvious reasons to think it's any worse, and it's better supported, in that fewer people will tell you to upgrade as a standard smartass answer to every question ;-) -- Bill Davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc What do you mean I shouldn't do things like that at my age? At my age if you don't do things like that you might die of natural causes or boredom!
Re: missing articles problem
Author: Geoff Allen
Date: Thu, 30 Jul 1998 00:00
Date: Thu, 30 Jul 1998 00:00
39 lines
2645 bytes
2645 bytes
curt@kcwc.com (Curt Welch) writes: > newsmaster@interpacket.net (Jon Mansey) wrote: > > Just to fill in the gaps its 3 x 4G drives in a raid 0 spool. Im (trying > > to) get a full feed, at least the big 8. > > Most the volume these days is in alt. I haven't seen recent figures > but I'd guess that 3/4 of all news is in alt. So if you leave out alt.* > you will have a good chance of keeping up using a 3 x 4G config (though > it's still somewhat borderline). I have a 3 x 4G spool, and get big 8 + alt + gnu, minus alt.binaries. I don't see holes in the threads of the groups I read, so I assume the feed is pretty complete. (I read with Gnus, and have it insert phantom articles in the thread view for missing articles, so I think I'd notice). I have a default expire of 6 days, alt.* goes in 4 days, misc.jobs.* goes in 3. My spool at the moment of this posting is taking up 4703123 KB. That's only about 4.5GB. Overview is in a separate filesystem, so this is just the articles. (FWIW, overview is taking 443 MB.) So, I'd say if you're taking big 8 only, you have a very good chance of keeping up using a 12 GB spool. In fact, you should be able to keep a week's worth of news, if you want to. Based on the stories I hear on news.software.nntp and my own experience, I'd guess that alt.* is a lot more than 3/4 of the total traffic (at least by volume). Geoff, happy member of the "no alt.binaries" club -- Geoff Allen, geoff@wsu.edu, <http://www.wsu.edu/~geoff/> It's like the coming of civilization. -- Anonymous Moscow Resident, opening of the first Russian McDonald's Restaurant, Moscow, Russia, 1990
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