Thread View: news.software.nntp
2 messages
2 total messages
Started by Erland Sommarskog
Sun, 11 Feb 1996 00:00
Cause and effect?
Author: Erland Sommarskog
Date: Sun, 11 Feb 1996 00:00
Date: Sun, 11 Feb 1996 00:00
73 lines
4162 bytes
4162 bytes
[Please send me a Cc of anything you post. For reasons given below,
I run the risk of missing otherwise.]
At this place there seems to be two major problems with news:
1) the newsfeed lags behind, and many articles never makes it here.
2) sometimes it is very difficult to get access to the news server.
The question is: is this really two different problems, or are
they symptom of the same?
There are several feeds to this site, whereof one is across the
ocean. This is the main feed using the streaming patches, if that
matters.
The reason why we're lagging behind seems to be simple: network
overload. The connection to the Internet operator is a 1M, however,
the overload is probably not on that link, but rather the operator's
links abroad. To wit here are ping times to two of the feeds:
Feed in the US: Feed in Sweden:
64 b: icmp_seq=0. time=643. ms 64 b: icmp_seq=0. time=75. ms
64 b: icmp_seq=1. time=702. ms 64 b: icmp_seq=1. time=71. ms
64 b: icmp_seq=2. time=595. ms 64 b: icmp_seq=2. time=57. ms
64 b: icmp_seq=3. time=725. ms 64 b: icmp_seq=3. time=126. ms
64 b: icmp_seq=6. time=602. ms 64 b: icmp_seq=4. time=246. ms
64 b: icmp_seq=7. time=648. ms 64 b: icmp_seq=5. time=181. ms
64 b: icmp_seq=9. time=593. ms 64 b: icmp_seq=6. time=245. ms
11 transmitted, 7 received, 36% loss 7 transmitted, 7 received, 0% loss
round-trip (ms) = 593/644/725 round-trip (ms) = 57/143/246
Now, why does the server take so long to respond to connections
from within the local net work. Doing top on the news machine, we
find:
last pid: 7599; load averages: 1.35, 1.20, 1.14 12:31:06
38 processes: 35 sleeping, 2 running, 1 on cpu
Cpu states: 0.0% idle, 21.2% user, 60.4% kernel, 18.3% iowait, 0.0% swap
Memory: 307M real, 54M free, 35M swap, 347M free swap
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
207 news -14 0 11M 4588K run 82.8H 67.32% 65.42% innd
7522 news 35 2 1712K 1572K sleep 0:25 6.31% 6.08% dexpire
7441 news -4 0 2572K 2100K sleep 0:08 1.24% 3.04% in.nnrpd
7599 news -15 0 2404K 1872K run 0:00 2.66% 2.66% in.nnrpd
7598 sommar 27 0 2504K 1300K cpu 0:00 3.04% 2.46% top
7577 news 33 0 2540K 2104K sleep 0:01 2.02% 1.54% in.nnrpd
7353 news 33 0 2540K 1928K sleep 0:11 0.17% 0.25% in.nnrpd
27458 news 27 2 1412K 576K sleep 1:12 0.15% 0.11% innxmit
7081 news 33 0 2540K 760K sleep 0:19 0.10% 0.08% in.nnrpd
6912 root 33 0 1300K 472K sleep 0:01 0.09% 0.07% in.telnetd
1 root 33 0 780K 104K sleep 14:04 0.02% 0.02% init
6914 sommar 23 0 1304K 556K sleep 0:01 0.01% 0.01% ksh
141 root 33 0 1268K 268K sleep 6:48 0.00% 0.00% syslogd
151 root 33 0 1344K 312K sleep 0:32 0.00% 0.00% cron
7074 news 26 0 2540K 736K sleep 0:16 0.00% 0.00% in.nnrpd
There's obviously something wrong going on here, with the server
eating that much CPU time, and all that time in the kernel. (And
with over than 300 MB memory in the box, shouldn't INN grab more
than just 11MB?)
Now, I have only looked at this fairly superficially, so this is
just a shot in the dark, but the cause for the kernel chewing
be the bad network performance? Does INN get stuck in the kernel
while waiting for response? Or are we really having two different
problems?
The hardware is a Sparc 10 if that matters.
--
Erland Sommarskog, Stockholm, sommar@algonet.se
Re: Cause and effect?
Author: Erland Sommarskog
Date: Sun, 18 Feb 1996 00:00
Date: Sun, 18 Feb 1996 00:00
29 lines
1858 bytes
1858 bytes
A week ago I posted: >At this place there seems to be two major problems with news: >1) the newsfeed lags behind, and many articles never makes it here. >2) sometimes it is very difficult to get access to the news server. > >The question is: is this really two different problems, or are >they symptom of the same? >.... Yes, it seems that my assumption was correct. We asked the trans- atlantic feed (which uses streaming) to stop feeding us, and since then the performance has improved. We get more articles, and there is no problem(*) to access the news server. Our feed is still behind, and we probably still miss some articles, but if you would see our ping times, you wouldn't be surprised. As for why the transatlantic feed caused INN to chew kernel and behave autistically, my ideas seems to have been off target, though. Basically there are a few bugs in INN and in the original streaming patches as I understand it, and these are to be fixed in INN1.4Unoff4, which we are anxiously waiting for Dave. :-) (*) Actually, the server refused to answer for a while yesterday afternoon. I noticed that one feed didn't answer on ping at the same time, so it seems our server got when the feed disappeared. -- Erland Sommarskog, Stockholm, sommar@algonet.se
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