[
https://issues.apache.org/jira/browse/CXF-7049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15489725#comment-15489725
]
Nithesh commented on CXF-7049:
------------------------------
Found out that cxf logging interceptor is interfering with Log4j's logging
module.
after adding the below for org.apache.cxf package in log4j.xml, close waits
disappeared.
<logger name="org.apache.cxf" additivity="false">
<level value="INFO" />
</logger>
If i change this to ERROR, then there exists 200+ CLOSE_WAITs in the back-end,
which eventually will consume all the sockets/file-descriptor and sever will
stop respoding for ever.
Seems like a bug to me in CXF.
Thanks,
Nithesh
> Getting too many CLOSE_WAIT that lives forever
> ----------------------------------------------
>
> Key: CXF-7049
> URL: https://issues.apache.org/jira/browse/CXF-7049
> Project: CXF
> Issue Type: Bug
> Components: Bus, Core, Integration
> Affects Versions: 3.0.6
> Environment: Jetty 9.3.3 Application server, jdk 1.8, Camel 2.15.3 ,
> CXF 3.0.6
> Reporter: Nithesh
> Labels: newbie, performance
>
> When ever cxf endpoint is invoked first the connection to that endpoint is
> established, after the response is received connection goes to CLOSE_WAIT and
> stays in this state forever !!
> after a load test i can see 1500+ connections is in close_wait and stays in
> this state !
> Total no. Connection : 1571, TIME_WAIT : 0, CLOSE_WAIT : 1571, ESTABLISHED:0
> I'm facing the problems as stated in the below two forums:
> 1. https://developer.jboss.org/thread/272238
> 2.
> http://stackoverflow.com/questions/39349670/too-many-close-wait-with-jetty-9-3-3-observed
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)