Re: After many hours all outbound connections get stuck in SYN_SENT

From: James Nichols
Date: Tue Dec 18 2007 - 13:23:30 EST


> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/