tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Higgins" <>
Subject Tomcat 4.0.6 leaving CLOSE_WAIT sockets
Date Sat, 01 Feb 2003 22:13:23 GMT

I have a script which can burst any number of async socket connections to
Tomcat from a remote host. With it, I can get every available connector
processor thread to become busy at once. At that point, Tomcat simply
refuses any new socket connections at all.

Ok, this is to be expected. But the problem is, ALL the threads seem to
leave their sockets in the CLOSE_WAIT state, never actually closing them.
Tomcat then seems to refuse any new connections until it is restarted.

This is an issue because I am seeing it on a production server with
maxProcessors set to 600. It could be a targeted DoS attack, or it could
just be huge spikes in load at certain times. Either way, Tomcat is not
faring very well.

This has been driving me batty for about a week now. Any advice or ideas?

(Tomcat 4.0.6, Windows 2000 Server SP3, Sun JDK 1.4.1_01)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message