public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <dada1@cosmosbay.com>
To: James Nichols <jamesnichols3@gmail.com>
Cc: Jan Engelhardt <jengelh@computergmbh.de>, linux-kernel@vger.kernel.org
Subject: Re: After many hours all outbound connections get stuck in SYN_SENT
Date: Tue, 18 Dec 2007 19:32:26 +0100	[thread overview]
Message-ID: <4768123A.7040603@cosmosbay.com> (raw)
In-Reply-To: <83a51e120712181021p4c4c2a13g8820271f1e00361b@mail.gmail.com>

James Nichols a écrit :
>> Here is a purely hypothethical (and in practice unlikely) idea:
>> Java opens up too many sockets (more than you really request) and the
>> kernel, for whatever reason, does not deliver packets to programs
>> which have maxed out their fds. Well it would already help if the
>> java blob was split into multiple blobs (assuming the problem
>> persists), as the best testcase is the smallest possible one. So if
>> it is reproducable without the web blob, great step there.
>>
>>     
>
>
> Right, I don't disagree with you there.  FWIW, I can disable entire
> parts of the application and have already narrowed down reproduction
> of this issue to the 200 threads that make the webservice calls, so it
> doesn't have anything to do with any of the GUI or other background
> services that my application executes.
>
>
> You said:
>
>   
>> Well you could still blame Java. I am sure that if you program was C,
>> the problem could be narrowed down much easier.
>>     
>
> I'm curious to know how this problem would be easier to narrow down if
> it were written in C.
>   
Well... please dont start a flame war :(

Back to your SYN_SENT problem, I suppose the remote IP is known, so you 
probably could post here the result of a tcdpump ?

tcpdump -p -n -s 1600 host IP_of_problematic_peer -c 500

Most probably remote peer received too many attempts from you, and a 
anti DOS mechanism is droping all SYN packets.

Ah well... I remember now that you mentioned tcp_sack setting had an 
effect, so forget the "Most probably..." and give some tcpdump traces :)






  parent reply	other threads:[~2007-12-18 18:32 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-14 20:39 After many hours all outbound connections get stuck in SYN_SENT James Nichols
2007-12-17 23:14 ` Jan Engelhardt
2007-12-18 15:34   ` James Nichols
2007-12-18 16:05     ` Jan Engelhardt
2007-12-18 16:45       ` James Nichols
2007-12-18 17:19         ` Jan Engelhardt
2007-12-18 18:09           ` James Nichols
2007-12-18 18:14             ` Jan Engelhardt
2007-12-18 18:21               ` James Nichols
2007-12-18 18:30                 ` Jan Engelhardt
2007-12-18 18:32                 ` Eric Dumazet [this message]
2007-12-18 19:44                   ` James Nichols
2007-12-18 20:37                     ` Eric Dumazet
2007-12-18 21:20                       ` Jan Engelhardt
2007-12-19 16:53                       ` James Nichols
2007-12-19 17:07                         ` Eric Dumazet
2007-12-19 17:43                           ` James Nichols
2007-12-19 17:58                             ` Jan Engelhardt
2007-12-19 18:12                               ` James Nichols
2007-12-20 14:41                               ` Glen Turner
2007-12-20 16:37                                 ` James Nichols
2007-12-20 21:05                                   ` Ilpo Järvinen
2007-12-21  6:06                                     ` Jan Engelhardt
2007-12-21  4:51                                   ` Glen Turner
2007-12-21 13:57                                     ` James Nichols
2007-12-19 18:03                             ` Eric Dumazet
2007-12-19 21:27                               ` Ilpo Järvinen
2007-12-20 16:08                               ` James Nichols
2007-12-20 20:44                                 ` Ilpo Järvinen
2007-12-20 20:49                                 ` Justin Banks
2007-12-18 19:45                   ` James Nichols
2007-12-18 20:28                     ` Chuck Ebbert

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=4768123A.7040603@cosmosbay.com \
    --to=dada1@cosmosbay.com \
    --cc=jamesnichols3@gmail.com \
    --cc=jengelh@computergmbh.de \
    --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