From: gphat@cafes.net
To: linux-kernel@vger.kernel.org
Subject: Large numbers of TCP resets
Date: Wed, 3 Jul 2002 20:15:53 GMT [thread overview]
Message-ID: <20020703201553.DE9FD68CB5EA@mail.cafes.net> (raw)
Recently, the web-app at the company I work for started having problems load
balancing. This was traced back to a large number of tcp-resets being sent
from the web servers to the clients.
Here's netstat output for one of the boxen:
437761 active connections openings
0 passive connection openings
21 failed connection attempts
0 connection resets received
101 connections established
140497907 segments received
149967684 segments send out
116610 segments retransmited
111 bad segments received.
1003306 resets sent
This box is running an apache/tomcat/jboss setup serving both HTTP and RMI
requests. The reset packets disrupt the load balancing method, as the load
balancers think the reset means the connection can now be round-robined to the
next machine. This can be masked by using cookie-based balancing, but I am
worried that we would be masking a problem.
Documentation concerning tuning buffers for network purposes say that 2.4 is
good at auto-tuning, and that only /proc/sys/net/ipv4/tcp_wmem|tcp_rmem might
need tweaking.
The kernel is 2.4.9-31smp from RedHat 7.2. The cards are Intel 82557's. There
are two interfaces, with 1 for client access and 1 used for communication with
the backend database. (The ->client is the one we are worried about).
Any ideas on why the interfaces would be doing this? The boxes served 1.6
hits/sec average over last month for a total of about 10Gb. Is there some
tuning that needs to take place?
Thanks in advance.
Cory 'G'
Watson
next reply other threads:[~2002-07-03 20:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-03 20:15 gphat [this message]
2002-07-04 12:38 ` Willy Tarreau
[not found] <20020703201553.DE9FD68CB5EA@mail.cafes.net.suse.lists.linux.kernel>
2002-07-04 3:53 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020703201553.DE9FD68CB5EA@mail.cafes.net \
--to=gphat@cafes.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®