[ https://issues.apache.org/jira/browse/CXF-7049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326388#comment-16326388 ]
David Morabito edited comment on CXF-7049 at 1/15/18 4:26 PM: -------------------------------------------------------------- We faced the same issue, and we fixed the CLOSE_WAITs by using: - cxf-rt-transports-http-hc library and setting up our buses to be async: <cxf:properties> <entry key="use.async.http.conduit" value="true"/> <entry key="org.apache.cxf.transport.http.async.MAX_PER_HOST_CONNECTIONS" value="${max.connections.per.host}"/> <entry key="org.apache.cxf.transport.http.async.MAX_CONNECTIONS" value="${max.connections.total}"/> </cxf:properties> We don't understand yet how INFO vs ERROR affects our application. We may post some updates when we have something to share. was (Author: morabito): We faced the same issue, and we fixed it by using: - cxf-rt-transports-http-hc and setting up our buses to be async: <cxf:properties> <entry key="use.async.http.conduit" value="true"/> <entry key="org.apache.cxf.transport.http.async.MAX_PER_HOST_CONNECTIONS" value="${max.connections.per.host}"/> <entry key="org.apache.cxf.transport.http.async.MAX_CONNECTIONS" value="${max.connections.total}"/> </cxf:properties> > 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 > Priority: Major > 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 (v7.6.3#76005)