Re: After a while all outbound connections get stuck in SYN_SENT
- From: Nigel Wade <nmw@xxxxxxxxxxxx>
- Date: Tue, 11 Dec 2007 10:45:13 +0000
jamesnichols3 wrote:
SYN_SENT means the local host has transmitted a SYN requesting the
creation of a connection but has not yet received either an RST
response indicating that nothing's listening nor a ACK SYN response
indicating that something *is* listening. Probable culprits would be,
in roughly descending order,
- firewall problems,
- the remote host has gone down or is not responding to network
traffic,
- firewall problems,
- misconfiguration somewhere in between your machine and the remote
host, and
- firewall problems.
Dig up a copy of Wireshark and watch the actual network traffic
between your machine and the host you're calling services on to see
which of these is likely. If possible run it from both inside and
outside your own firewall so you can see if your firewall is blocking
the returning ACK+SYN or even the outgoing SYN or not.
Hi,
I've had this problem over multiple types of firewall devices, versions, and
configurations. It's not possible for me to packet capture outside of the
firewall. Unfortunately, the data rate is such that it's nearly impossible
to gain many insights from the internal packet capture that I can take. This
problem is occuring when connecting to 1000's of hosts spread out all over
the internet, so it's highly unlikely that they are all going down at once or
there is some misconfiguration that occurs- every 38 hours. It is indicative
of something systematic happening in the OS, but I can't figure out what it
is.
Are you running iptables on the system in question? What happens if you disable
it?
It's just possible that the state table is filling up so ESTABLISHED,RELATED
packets are no longer being accepted. This would result in the SYN,ACK response
from the remote end being dropped, and a socket hung in the SYN_SENT state.
You can look at the iptables state table using some esoteric magic incantation,
which I can't remember offhand. I should have it in my firewall notes, I'll try
to locate it (it's not something I have to do very often...)
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@xxxxxxxxxxxx
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
.
- Follow-Ups:
- Re: After a while all outbound connections get stuck in SYN_SENT
- From: jamesnichols3
- Re: After a while all outbound connections get stuck in SYN_SENT
- References:
- After a while all outbound connections get stuck in SYN_SENT
- From: jamesnichols3
- Re: After a while all outbound connections get stuck in SYN_SENT
- From: Owen Jacobson
- Re: After a while all outbound connections get stuck in SYN_SENT
- From: jamesnichols3
- After a while all outbound connections get stuck in SYN_SENT
- Prev by Date: Re: Great SWT Program
- Next by Date: Re: Jax-WS attachments puzzle
- Previous by thread: Re: After a while all outbound connections get stuck in SYN_SENT
- Next by thread: Re: After a while all outbound connections get stuck in SYN_SENT
- Index(es):
Relevant Pages
|