Bluehost.com Web Hosting $6.95

Connection Timeouts in load testing

This is a discussion on Connection Timeouts in load testing within the Linux Networking forums, part of the Linux Forums category; Hi, I'm load testing Tomcat 5.0.18 on SuSE 9 (k:2.4.xxx), and I have no ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-05-2004
Pete
 
Posts: n/a
Default Connection Timeouts in load testing

Hi,

I'm load testing Tomcat 5.0.18 on SuSE 9 (k:2.4.xxx), and I have no
connection timeout set in Tomcat, but at points I suddenly get 20-50
users (client side) failing saying connection timed out on the socket.

java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)

Using netstat -a, I see loads of tcp connection in a "TIME_WAIT"
state. Accoring to man, this socket is "waiting after close to handle
packets still in the network", so does this mean I have some
limitation in the linux kernel or tomcat ?

Thanks,
Pete.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0