🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Andrew Wed, 18 Mar 1998 00:00
INN and Netapp woes...
#26975
Author: Andrew
Date: Wed, 18 Mar 1998 00:00
36 lines
2058 bytes
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:

Mar 18 12:10:19 vellocet newslink[22719]:
synthemesc2:/news/dqueue/insync-large.S00290 final secs=389  acc=15
dup=0    rej=1    tot=16   bytes=2808318 (2/min) 238 <6emm

...which is just ridiculous.  Needless to say, it's backlogging like all
hell on Diablo side.

Running a truss on the large dnewslink on the Diablo box shows that's
very frequently sleeping, waiting on INN.  Running truss on the innd
process shows that these pauses are coming when it does a writev() call
on one of the large files.  It pauses at least one second, but more often
more like five seconds.

Does anybody know of some good Solaris and/or Netapp tweaks to resolve
this problem (or anything else for that matter)?  Any input is greatly
appreciated.  :)

-- 
Andrew O. Smith - <aos@insync.net> | "Please allow me to present
Sysadmin, Insync Internet Services |  you with a clue."
Houston, Texas, USA                |          --The Afghan Whigs

Re: INN and Netapp woes...
#26983
Author: Dale Ghent
Date: Wed, 18 Mar 1998 00:00
19 lines
1098 bytes
Andrew wrote:

> Does anybody know of some good Solaris and/or Netapp tweaks to resolve
> this problem (or anything else for that matter)?  Any input is greatly
> appreciated.  :)

Just curious, are you running nfs2 or 3?

		-Dale
		(who's never touched a netapp)

-- 
Dale Ghent                        daleg @ digex.net
NetworkNews Administrator             DIGEX, Inc.
http://www.digex.net                Beltsville, MD
                    I speak for myself

Re: INN and Netapp woes...
#26984
Author: Andrew
Date: Wed, 18 Mar 1998 00:00
21 lines
1305 bytes
Dale Ghent <daleg@digex.net> wrote:
> Just curious, are you running nfs2 or 3?

2 (UDP of course).  3 was, as expected, a little bit slower.

Incidentally, the machine running INN is a Sparc 20 with 2x150MHz Ross CPUs
and 512MB of RAM.  It's connected to the Netapp with a 100bT crossover cable
(running full duplex).

> 		(who's never touched a netapp)

Nice machines.  This situation is the only problem I've had, and it's likely
not the Netapp's "fault".

-- 
Andrew O. Smith - <aos@insync.net> | "Please allow me to present
Sysadmin, Insync Internet Services |  you with a clue."
Houston, Texas, USA                |          --The Afghan Whigs

Re: INN and Netapp woes...
#26997
Author: Andrew
Date: Wed, 18 Mar 1998 00:00
15 lines
1199 bytes
Mike Horwath <drechsau@yuck.net> wrote:
> Hook up with Brett from TexasNet for a patch for Solaris.

Already talked to him... quite a bit.  :)  Unfortunately, the patch he's
got is only for sun4u machines and I'm running on a sun4m.  The problem
doesn't appear to be the one fixed by the famous 2.6 patch anyway.  At
least not the current problem.  :)

-- 
Andrew O. Smith - <aos@insync.net> | "Please allow me to present
Sysadmin, Insync Internet Services |  you with a clue."
Houston, Texas, USA                |          --The Afghan Whigs

Re: INN and Netapp woes...
#27012
Author: 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

Re: INN and Netapp woes...
#27020
Author: Mike O'Connor
Date: Thu, 19 Mar 1998 00:00
13 lines
1011 bytes
You may want to run nfsstat and snoop on the Solaris side and see if
you see anything terribly anomalous.  What do sar -d and iostat -D say
about your disks?

I agree, the Netapps are amazing...
 
--
 Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org
 InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481


Re: INN and Netapp woes...
#27034
Author: Andrew
Date: Thu, 19 Mar 1998 00:00
14 lines
1126 bytes
Mike Horwath <drechsau@yuck.net> wrote:
> Bummer.
> Was hoping it would help...

Well, I'm gonna give Dan Foster's ideas a thorough investigation tomorrow.
I kinda feel like that almost _has_ to explain it.

-- 
Andrew O. Smith - <aos@insync.net> | "Please allow me to present
Sysadmin, Insync Internet Services |  you with a clue."
Houston, Texas, USA                |          --The Afghan Whigs

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