All TCP connections are in CLOSE_WAIT State
ravikumar.palaparthi Dec 8, 2008 4:19 AMhi
i m using jboss4.2.2.GA and ocle 10g
OS : RHEL5
Problem Description:
Users get a 503 error message when the try to login in to the website. it seems they cannot connect to the Application via ajp proxying.
1. My apache error_log looks like this when the 503 issues are occuring..
[Mon Nov 24 16:35:06 2008] [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
[Mon Nov 24 16:35:06 2008] [error] ajp_read_header: ajp_ilink_receive failed
[Mon Nov 24 16:35:06 2008] [error] (120006)APR does not understand this error code: proxy: read response failed from 127.0.0.1:8009 (localhost)
[Mon Nov 24 16:35:55 2008] [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
[Mon Nov 24 16:35:55 2008] [error] ajp_read_header: ajp_ilink_receive failed
[Mon Nov 24 16:35:55 2008] [error] (120006)APR does not understand this error code: proxy: read response failed from 127.0.0.1:8009 (localhost)
.
.
2. All TCP connections in CLOSE_WAIT are owned by Jboss.
[root@l194t08 ipv4]# /usr/sbin/lsof -i -nP |grep CLOSE_WAIT
java 9765 jboss 17u IPv4 4902598 TCP 127.0.0.1:8009->127.0.0.1:47019 (CLOSE_WAIT)
java 9765 jboss 45u IPv4 4949931 TCP 127.0.0.1:8009->127.0.0.1:57210 (CLOSE_WAIT)
java 9765 jboss 62u IPv4 4861032 TCP 127.0.0.1:8009->127.0.0.1:43717 (CLOSE_WAIT)
java 9765 jboss 63u IPv4 4905920 TCP 127.0.0.1:8009->127.0.0.1:47020 (CLOSE_WAIT)
java 9765 jboss 64u IPv4 4948850 TCP 127.0.0.1:8009->127.0.0.1:57209 (CLOSE_WAIT)
java 9765 jboss 69u IPv4 4949970 TCP 127.0.0.1:8009->127.0.0.1:59327 (CLOSE_WAIT)
java 9765 jboss 72u IPv4 4950165 TCP 127.0.0.1:8009->127.0.0.1:48921 (CLOSE_WAIT)
java 9765 jboss 97u IPv4 4911734 TCP 127.0.0.1:8009->127.0.0.1:42311 (CLOSE_WAIT)
java 9765 jboss 105u IPv4 4861441 TCP 127.0.0.1:8009->127.0.0.1:34712 (CLOSE_WAIT)
All TCP connections are in CLOSE_WAIT State ...
B coz of this i am unable access my application
while accessing application its giving error mg "503 service unavailable"
I am unable to fix this issue ...
If anybody have the idea about to fix this problem ....
plz share knowledge for me ..
Thanks,
Ravi Palaparthi