-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CXF clients based on java.net.http.HttpClient
leak threads
#992
Comments
java.net.http.HttpClient
leak threads
configurable workaround for quarkiverse#992 CXF clients based on java.net.http.HttpClient leak threads
configurable workaround for quarkiverse#992 CXF clients based on java.net.http.HttpClient leak threads
configurable workaround for quarkiverse#992 CXF clients based on java.net.http.HttpClient leak threads
configurable workaround for quarkiverse#992 CXF clients based on java.net.http.HttpClient leak threads
configurable workaround for quarkiverse#992 CXF clients based on java.net.http.HttpClient leak threads
configurable workaround for quarkiverse#992 CXF clients based on java.net.http.HttpClient leak threads
configurable workaround for quarkiverse#992 CXF clients based on java.net.http.HttpClient leak threads
configurable workaround for #992 CXF clients based on java.net.http.HttpClient leak threads
configurable workaround for quarkiverse#992 CXF clients based on java.net.http.HttpClient leak threads
configurable workaround for #992 CXF clients based on java.net.http.HttpClient leak threads
Now that CXF 4.0.3 is released (which apparently fixed https://issues.apache.org/jira/browse/CXF-8885) and updated in quarkus-cxf, is there anything to do here? |
I need to verify that 4.0.3 behaves as expected. If so, we probably need to document that Once all the above is done, we can consider changing the default conduit-factory in the next minor/major release |
Sounds good, thanks for clarifying! |
This is a known CXF issue reported as https://issues.apache.org/jira/browse/CXF-8885
It is reproducible also with Quarkus CXF 2.3.0 and 2.2.2, when the following conditions are met:
java.net.http.HttpClient
is used under the hoodSteps to reproduce:
When inpecting the JVM during the test, one sees that the number of thread is rising continuously. Those are mostly HttpClient related threads like
HttpClient-*-SelectorManager
.Possible workarounds:
org.apache.cxf.transport.http.URLConnectionHTTPConduit
via settingHTTPConduitFactory.class
on CXF BusA proper fix needs to be done in CXF via https://issues.apache.org/jira/browse/CXF-8885
The text was updated successfully, but these errors were encountered: