Thread View: news.software.nntp
6 messages
6 total messages
Started by Oliver Fromme
Mon, 27 Nov 2000 00:00
INN 2.3, strange feed problem
Author: Oliver Fromme
Date: Mon, 27 Nov 2000 00:00
Date: Mon, 27 Nov 2000 00:00
72 lines
3813 bytes
3813 bytes
Hi,
We have setup a second news machine as a "slave", in order
to have identical article numbers and migrate the service
to the new machine without users noticing (hopefully).
However, only about 20% of all articles are fed to the
slave, and I've been unable to find out why, so far. :-(
Old server (master):
Sun Ultra-2, 512 Mbyte RAM
INN 2.2.2
~ 70 Gbyte spool (CNFS), unified overview
New server (slave):
Sun Ultra-2, 1152 Mbyte RAM
INN 2.3-stable (2000-11-21)
~ 150 Gbyte spool (CNFS), buffindexed overview
All diskspace (spools, overviews, history) is mounted from
NetApp Filers via NFS (the servers use two different Filers
so they shouldn't interfere with each other). I'm aware
that local diskspace would be preferable from a performance
perspective, but we only have those Filers available. Both
Filers are set up in the same way. The load on the Filers
is rarely > 10%, so they shouldn't be causing the problem.
Also, neither CPU nor RAM is a bottleneck on both machines.
Average load is blow 1.0, and there's almost no paging or
swapping activity.
The following is from the innfeed.status file on the master:
seconds: 7716 art. timeout: 600 ip name: xxx
offered: 9059 resp. timeout: 300 port: 119
accepted: 8005 want streaming: yes active cxns: 15
refused: 3 is streaming: yes sleeping cxns: 0
rejected: 1 max checks: 25 initial cxns: 1
missing: 864 no-check on: 95.0% idle cxns: 30
deferred: 0 no-check off: 90.0% max cxns: 45/45
requeued: 0 no-check fltr: 50.0 queue length: 998.1
spooled: 41686 dynamic method: 0 empty: 0.0%
[overflow]: 41686 dyn b'log low: 25.0% >0%-25%: 0.0%
[on_close]: 0 dyn b'log high: 50.0% 25%-50%: 0.0%
[sleeping]: 0 dyn b'log stat: 37.5% 50%-75%: 0.0%
unspooled: 0 dyn b'log fltr: 25.0 75%-<100%: 34.6%
full: 65.4%
The innfeed seems to queue and then spool most of the
articles. I'd love to know why. I've already increased
the number of connections to 45 and the maximum queue
length to 1000, without much of an effect (except that
the memory footprint of the innfeed process got larger).
Does anyone have an idea what could be causing the problem?
I can post more information (log file excerpts etc.) if
required. I can also try all kinds of things on the new
box, because the old one is still the official production
server.
Help! :-)
Regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 M�nchen
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"All that we see or seem is just a dream within a dream" (E. A. Poe)
Re: INN 2.3, strange feed problem
Author: Andrew Gierth
Date: Mon, 27 Nov 2000 00:00
Date: Mon, 27 Nov 2000 00:00
27 lines
2116 bytes
2116 bytes
>>>>> "Oliver" == Oliver Fromme <olli@secnetix.de> writes: Oliver> Just one question remains: There are spool files left in Oliver> ~news/spool/innfeed on the master server: Oliver> -rw-rw-r-- 1 news news 0 Nov 27 17:00 innfeed-dropped.A026755 Oliver> -rw-rw-r-- 1 news news 0 Nov 27 12:30 innfeed-dropped.B022138 Oliver> -rw-rw-r-- 1 news news 6088066 Nov 27 17:54 slave.input Oliver> -rw-r--r-- 1 news news 6 Nov 27 17:00 slave.lock Oliver> -rw-rw-r-- 1 news news 128335295 Nov 27 17:01 slave.output Oliver> When does innfeed process those (if at all)? any time it can. At the point that an innfeed connection goes to fetch an article from its queue, if it finds the queue empty it'll pull an article from the backlog instead. The .input file is where backlog articles are read from; every so often the current byte position in the file is stored on the first line so it doesn't have to restart from the beginning if innfeed is restarted. (The .output file is where article lines are written when the internal queues overflow; any time the .input file is finished with, any current .output file is renamed to .input and processed accordingly.) -- Andrew.
Re: INN 2.3, strange feed problem
Author: Oliver Fromme
Date: Mon, 27 Nov 2000 00:00
Date: Mon, 27 Nov 2000 00:00
48 lines
2722 bytes
2722 bytes
Sorry for replying to myself, but ... Oliver Fromme <olli@secnetix.de> wrote: > [...] > However, only about 20% of all articles are fed to the > slave, and I've been unable to find out why, so far. :-( Now I know why -- It had nothing to do with INN or with the Filers containing the spool. It was simply a network problem: The switch port was set to full-duplex (auto- negotiation was switched off), and the sun box set itself to half-duplex. I switched the Sun's interface to full-duplex manually (and set autonegotiation off, too), and now everything works wonderfully. Just one question remains: There are spool files left in ~news/spool/innfeed on the master server: -rw-rw-r-- 1 news news 0 Nov 27 17:00 innfeed-dropped.A026755 -rw-rw-r-- 1 news news 0 Nov 27 12:30 innfeed-dropped.B022138 -rw-rw-r-- 1 news news 6088066 Nov 27 17:54 slave.input -rw-r--r-- 1 news news 6 Nov 27 17:00 slave.lock -rw-rw-r-- 1 news news 128335295 Nov 27 17:01 slave.output When does innfeed process those (if at all)? Local time is now 17:54, so it has touched the .input file recently, but not the .output file since I fixed the duplex issue. The sizes of both file didn't change since then. (Yes, I've read the innfeed manpage, several times even in the past few hours, but haven't found the answer there. But then again, according to Murphy's law, it'll start processing those spool files shortly after I've posted this message.) Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 M�nchen Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe)
Re: INN 2.3, strange feed problem
Author: bill davidsen
Date: Tue, 28 Nov 2000 00:00
Date: Tue, 28 Nov 2000 00:00
80 lines
4262 bytes
4262 bytes
In article <8vtqp1$oi2$1@isp-m-srv06.izb.net>, Oliver Fromme <olli@secnetix.de> wrote: | We have setup a second news machine as a "slave", in order | to have identical article numbers and migrate the service | to the new machine without users noticing (hopefully). | However, only about 20% of all articles are fed to the | slave, and I've been unable to find out why, so far. :-( | All diskspace (spools, overviews, history) is mounted from | NetApp Filers via NFS (the servers use two different Filers | so they shouldn't interfere with each other). I'm aware | that local diskspace would be preferable from a performance | perspective, but we only have those Filers available. Both | Filers are set up in the same way. The load on the Filers | is rarely > 10%, so they shouldn't be causing the problem. Your disk isn't fast enough... | | Also, neither CPU nor RAM is a bottleneck on both machines. | Average load is blow 1.0, and there's almost no paging or | swapping activity. | | The following is from the innfeed.status file on the master: [ massive backlog deleted ] | The innfeed seems to queue and then spool most of the | articles. I'd love to know why. Your slave disk isn't fast enough. | I've already increased | the number of connections to 45 and the maximum queue | length to 1000, without much of an effect (except that | the memory footprint of the innfeed process got larger). This is because no matter how hard you "push" you can't make the salve take it faster than the storage will accept it. | | Does anyone have an idea what could be causing the problem? Your disk on the slave isn't fast enough. | I can post more information (log file excerpts etc.) if | required. I can also try all kinds of things on the new | box, because the old one is still the official production | server. Sorry to repeat, but the slave just isn't processing the data fast enough. Increasing queue length buys you next to nothing over the default, and increasinge the number of queues only helps with lots of little articles. NFS storage is a problem, look at the daily and see how long it takes to write an article. Wow, long time, huh? Now there's one other thing which could be causing problems, and that's the network connection from the master to the slave. Check the ping time, look for collisions if you are not using a switch, etc. If you still don't see anything, split the feed into <32k and >32k feeds. Use a queue length of 200 and max connections of four for the small and three for the large. If the small backlogs, you are probably having CPU problems, check your idle time. If the large backlogs, the network data rate is not keeping up. If your ping time is REALLY bad you might get some help by increasing the receive buffer size. From memory it's in innd/nc.c, and can be increased depending on your system. I have seen networks where the routers were "tuned" to favor TCP over UDP, so the news feed worked fine, but NFS was painfully slow. After trying to explain why that was bad, I finally did an end run by putting in a TCP VPN and sending the UDP through that. A pox on network weenies who won't tell the management the hardware isn't strong enough! -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc Make the rules? I don't make the rules. I don't even FOLLOW the rules!
Re: INN 2.3, strange feed problem
Author: bill davidsen
Date: Wed, 29 Nov 2000 00:00
Date: Wed, 29 Nov 2000 00:00
33 lines
2352 bytes
2352 bytes
In article <902s47$pkp$1@nms01.izb.net>, Oliver Fromme <olli@secnetix.de> wrote: | bill davidsen <davidsen@tmr.com> wrote: | > In article <8vtqp1$oi2$1@isp-m-srv06.izb.net>, | > Oliver Fromme <olli@secnetix.de> wrote: | > | All diskspace (spools, overviews, history) is mounted from | > | NetApp Filers via NFS (the servers use two different Filers | > | so they shouldn't interfere with each other). I'm aware | > | that local diskspace would be preferable from a performance | > | perspective, but we only have those Filers available. Both | > | Filers are set up in the same way. The load on the Filers | > | is rarely > 10%, so they shouldn't be causing the problem. | > | > Your disk isn't fast enough... | | Maybe you didn't read my first posting completely. Both | master and slave are using a NetAPP filer each for their | spool. Both of them are exactly the same. The problem | occured only on the slave. And the Filer's load was always | below 10%. So it was _not_ the disk speed. | | Meanwhile the problem was solved, it was a network duplex | misconfiguration. Okay, your path to disk wasn't fast enough, that's still disk speed in my book. Sorry I wasted your time with all those other tuning hints, I certainly won't bother you by trying to help with any future questions. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc Make the rules? I don't make the rules. I don't even FOLLOW the rules!
Re: INN 2.3, strange feed problem
Author: Oliver Fromme
Date: Wed, 29 Nov 2000 00:00
Date: Wed, 29 Nov 2000 00:00
35 lines
2332 bytes
2332 bytes
bill davidsen <davidsen@tmr.com> wrote: > In article <8vtqp1$oi2$1@isp-m-srv06.izb.net>, > Oliver Fromme <olli@secnetix.de> wrote: > | All diskspace (spools, overviews, history) is mounted from > | NetApp Filers via NFS (the servers use two different Filers > | so they shouldn't interfere with each other). I'm aware > | that local diskspace would be preferable from a performance > | perspective, but we only have those Filers available. Both > | Filers are set up in the same way. The load on the Filers > | is rarely > 10%, so they shouldn't be causing the problem. > > Your disk isn't fast enough... Maybe you didn't read my first posting completely. Both master and slave are using a NetAPP filer each for their spool. Both of them are exactly the same. The problem occured only on the slave. And the Filer's load was always below 10%. So it was _not_ the disk speed. Meanwhile the problem was solved, it was a network duplex misconfiguration. Regards Oliver PS: Those NetApp Filers are cool things. :) -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 M�nchen Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe)
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