tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Trying to visualize traffic...CLARIFICATION
@ 2001-02-20 14:55 jreed
  0 siblings, 0 replies; only message in thread
From: jreed @ 2001-02-20 14:55 UTC (permalink / raw)
  To: tru64-unix-managers

On reading my msg when it hit the list I realized it wasn't as clear
as I'd thought, and folks would be confused by traffic info about
"frontend". I'm appending revised version below. Apologies and
thanks!
--------------------------------------------------------------------

Subject: Trying to visualize traffic, if it is causing app slowdown

We have a config of 2 gs140s running Tru64 v 4.0F. 

"frontend" runs squid and apache, and serves static content. Request for
dynamic content are sent to "backend", which runs apache and locally 
written apps.

Users are reporting the config to be very slow at times, so I investigated
"backend" during a slowdown. Network traffic overall on "backend"
appears to be around 500-1300 packets/second overall. This seems 
divided almost 50/50 between traffic to 2 database backend hosts 
(gs140s) and traffic to/from "frontend"

"backend" is only using about 1/4 of its memory, and is about 56% idle.
The one striking thing I see is the nature of the traffic on "backend"
from "frontend".
At any given time when these slowdowns occur I see on the order of
1,800 network connections from "frontend" on "backend", of which 
about 1,775 are in a TIME_WAIT state! Also, the turnover is 
continuous - snapshots of connections on "backend" from "frontend",
taken about 5 seconds apart showing "ESTABLISHED" connections from
"frontend" on "backend" showed completely different connections. 

Connection btwn "backend" and "frontend" is over 100BaseT half-duplex.

I'm wondering if tuning of tcp parameters is in order here.
We've done some tuning already, based on a Compaq document for "busy
internet servers". Parameters I've tuned include:

inet:
        ipport_userreserved = 65000
        ipqs = 16
        tcbhashnum = 16
        tcbhashsize = 16384
        tcp_keepalive_default = 1
        tcp_keepidle = 1200

Anyone have any particular insights into this kind of behavior? 
The only other thing that comes to mind is perhaps apache is not
efficiently handling the number of connections. There were 109 httpd
processes on "backend" a moment ago, but that is declining
right now, currently about 72. 

Huge TIA!!!

Judith Reed
jreed@appliedtheory.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-02-20 14:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-20 14:55 Trying to visualize traffic...CLARIFICATION jreed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox