2016-11-27 04:30:12,272 [amqpReceiver.1018] ERROR org.mule.exception.CatchMessagingExceptionStrategy - Message : Error sending HTTP request. Message payload is of type: String Code : MULE_ERROR--2 Exception stack is: 1. Too many open files (java.net.SocketException) sun.nio.ch.Net:-2 (null) 2. java.net.SocketException: Too many open files (java.util.concurrent.ExecutionException) org.glassfish.grizzly.impl.SafeFutureImpl$Sync:349 (null) 3. java.util.concurrent.ExecutionException: java.net.SocketException: Too many open files (java.io.IOException) org.mule.module.http.internal.request.grizzly.GrizzlyHttpClient:223 (null) 4. Error sending HTTP request. Message payload is of type: String (org.mule.api.MessagingException) org.mule.module.http.internal.request.DefaultHttpRequester:287 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) Root Exception stack trace: java.net.SocketException: Too many open files at sun.nio.ch.Net.socket0(Native Method) at sun.nio.ch.Net.socket(Net.java:411)
| Parameter | Recommended Value |
net.ipv4.tcp_keepalive_time | 300 ( 5 minutes ) |
net.ipv4.tcp_keepalive_intvl | 20 |
net.ipv4.tcp_keepalive_probes | 3 |
net.ipv4.tcp_keepalive_time = 300 net.ipv4.tcp_keepalive_intvl = 20 net.ipv4.tcp_keepalive_probes = 3
sysctl -p
netstat command, as shown below:
# netstat -tonp | grep CLOSE_WAIT tcp 89 0 10.0.0.59:45598 10.0.0.12:1998 CLOSE_WAIT - tcp 15 0 10.0.0.59:60861 10.0.0.12:1938 CLOSE_WAIT - tcp 5 0 10.0.0.59:56173 10.0.0.12:1700 CLOSE_WAIT -
001123765

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.