I am running tomcat 5.0.18(using JDK 1.4.2_07) on RHEL.
-bash-3.00$ uname -a
Linux localhost.com 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686 i686 i386 GNU/Linux
After doing certain load runs, tomcat is getting into hung situation. netstat shows that the new request is not getting into ESTABLISHED state.
If i send new wget localhost:port (from same host where tomcat is running) then in netstat, i will see the entry in SYN_RECV state for quite sometime. After 2-3 minutes, wget command comes out saying no answer from the server.
In the netstat -s output, i see
From netstat -s, I noticed overflow of the socket queue:
7 packets pruned from receive queue because of socket buffer overrun
421277 times the listen queue of a socket overflowed
421277 SYNs to LISTEN sockets ignored
Should i fine tune something in linux?