🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27012

Re: INN and Netapp woes...

#27012
From: Dan Foster
Date: Wed, 18 Mar 1998 00:00
74 lines
3724 bytes
In article <6ep32d$f6s$1@synthemesc.insync.net>,
Andrew  <aos@vellocet.insync.net> wrote:
>I'm seeing a really odd problem with my INN (Solaris 2.6) + Netapp F630
>setup.  I've narrowed the problem down to an issue with writing large
>files over NFS.  To keep the "useful" news flowing, I've split large and
>small articles into two feeds from my Diablo box.  Check out the stats:
>
>Mar 18 12:11:57 vellocet newslink[22717]:
>synthemesc:/news/dqueue/insync-small.S00479 final secs=488  acc=1140
>dup=179  rej=1501 tot=2820 bytes=2332361 (346/min) 205 .
>
>That's the small feed (articles <25K) and it's working just fine.  Now,
>the large feed:

The symptoms you describe are very often a network issue/problem somewhere.
We had two such incidents in the past year... one was due to path MTU
discovery being broken by stupid ICMP filtering, and another was due to
a 10/100 Mbps card being autosensed into 10 Mbps mode... (and we *most*
certainly push a lot more than 10 Mbps worth of traffic over the local
network...) Also had a bad cable causing framing errors, too...

tcpdump is your best friend. Don't leave home without it ;-) whip it out
and learn (if not already) how to read/analyze it.

classical symptoms of problem: anemic volume pushed for large articles,
but just dandy for small ones.

set it up so that you have only *one* feed going from your diablo box to
INN box (just for a 10-15 minute test), and that feed's only large articles.
on diablo box, fire up

tcpdump -l -i <interface> host <this box> and host <other box>

Do the same on the other box. Kill (gracefully, with a -TERM?) any dnewslinks 
flowing to the target box.

do a dspoolout -s manually after a minute or two. (or actually, you could
just run a dnewslink with the proper parameters, which would be fine)

Now... watch the TCP/IP connection being set up (three part SYN, shown as
'S', then the data being PuSHed -- 'P' and being ACKnowledged 'ack').

15:00:28.319321344 node17.frontiernet.net.nntp > srv-12-4.roc.ny.frontiernet.net.1924: . 7301:8761(1460) ack 0 win 65535 (DF)

This says that reader box's NNTP port is sending data to a dialup box on its
port 1924, no option being set (the '.'), between bytes 7301-8761 in the
data stream (which is 1460 bytes packet), ack'ing #0, advertised window of
64K for receive buffer, and don't fragment bit enabled (path MTU discovery).

Anyway...you want to look for gaps in the data stream, like:

1000-2460
2460-3920
5380-6840

There's a conveniently-sized 1460 byte packet that's missing here -- you'd
notice this by watching the tcpdump on the other box...never made it to here.
TCP doesn't guarantee anything in a particular order, but if it never shows
up at all...bad.

Any excessive ACKs or retransmits over a period of time? (may indicate lost 
packets/ACKs) After a while, host will give up and close the connection.

Run any network utils you may have for health of network... (how busy is it,
etc?) Run diags on the card and cable, the hub/switch...

Just some ideas/suggestions.

Has this setup ever worked in the past?

-Dan

Technical Details
Message-ID: <6ep9oh$2eo6$1@node17.frontiernet.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <6ep32d$f6s$1@synthemesc.insync.net>

Show Full Headers
Complete Article Headers
Message-ID: <6ep9oh$2eo6$1@node17.frontiernet.net>
Subject: Re: INN and Netapp woes...
Date: Wed, 18 Mar 1998 00:00:00 +0000
From: dsf@frontiernet.net (Dan Foster)
References: <6ep32d$f6s$1@synthemesc.insync.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 335342770
X-Complaints-To: abuse@frontiernet.net
Organization: Frontier Internet
Newsgroups: news.software.nntp