Support Article
ConnectionPoolTimeoutException impacts system performance
SA-69484
Summary
Multiple ConnectionPoolTimeoutException occurs and system performance degrades.
Error Messages
Caused by: com.pega.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
at com.pega.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:491)
at com.pega.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:395)
at com.pega.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
at com.pega.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at com.pega.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:629) at com.pega.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
at com.pega.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at com.pega.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:411)
at com.pega.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:233)
at com.pega.apache.axis2.engine.AxisEngine.send(AxisEngine.java:445)
at com.pega.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
at com.pega.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at com.pega.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
Steps to Reproduce
Unknown
Root Cause
A defect or configuration issue in the operating environment.
All the timeout exceptions are related to SOAP Connectors. The following two Dynamic System Settings (DSS) are not configured in the system:
- Axis2_Max_HostConnections
- Axis2_Max_Connections
Resolution
Perform the following local-change:
Configure the below DSS settings.
- Axis2_Max_HostConnections
- Axis2_Max_Connections
Published August 15, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.