> From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com]
> Subject: RE: Running out of tomcat threads - why many threads in
> RUNNABLEstage even with no activity
> 
> On httpd machine
> Proto Recv-Q Send-Q Local Address               Foreign Address             
> State
> tcp        1      0 129.41.29.243:43225         172.27.127.201:21065        
> CLOSE_WAIT
> tcp        1      0 129.41.29.243:43227         172.27.127.201:21065        
> CLOSE_WAIT
> tcp        1      0 129.41.29.243:43237         172.27.127.201:21065        
> CLOSE_WAIT
> tcp        1      0 129.41.29.243:43244         172.27.127.201:21065        
> CLOSE_WAIT
> tcp        1      0 129.41.29.243:43245         172.27.127.201:21065        
> CLOSE_WAIT
> 
> On tomcat machine
> Proto Recv-Q Send-Q Local Address               Foreign Address             
> State
> tcp        0      0 ::ffff:172.27.127.201:21065 ::ffff:129.41.29.243:43204  
> TIME_WAIT
> tcp        0      0 ::ffff:172.27.127.201:21065 ::ffff:129.41.29.243:43205  
> TIME_WAIT
> tcp        0      0 ::ffff:172.27.127.201:21065 ::ffff:129.41.29.243:43206  
> TIME_WAIT
> tcp        0      0 ::ffff:172.27.127.201:21065 ::ffff:129.41.29.243:43211  
> TIME_WAIT
> tcp        0      0 ::ffff:172.27.127.201:21065 ::ffff:129.41.29.243:43212  
> FIN_WAIT2
> tcp        0      0 ::ffff:172.27.127.201:21065 ::ffff:129.41.29.243:43213  
> FIN_WAIT2
> tcp        0      0 ::ffff:172.27.127.201:21065 ::ffff:129.41.29.243:43214  
> FIN_WAIT2
> tcp        0      0 ::ffff:172.27.127.201:21065 ::ffff:129.41.29.243:43215  
> TIME_WAIT
> tcp        0      0 ::ffff:172.27.127.201:21065 ::ffff:129.41.29.243:43216  
> FIN_WAIT2
> tcp        0      0 ::ffff:172.27.127.201:21065 ::ffff:129.41.29.243:43217  
> FIN_WAIT2
> tcp        0      0 ::ffff:172.27.127.201:21065 ::ffff:129.41.29.243:43218  
> FIN_WAIT2

(The above was edited to remove irrelevant IP addresses and sort by port.)

The fact that *none* of the ports match would suggest (but not prove) that 
someone in the middle is closing the connections, and not telling either end 
about it.

> - why do the 11 threads in the httpd o/p show port 
> 21069 in foreign addr.

They're for a different IP address.

> - currently I do have connectionTimeout set in server.xml.
> I will need to wait until night to reset that.

Do the netstat -anop again; it should be more interesting.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to