java.rmi.ConnectIOException: Exception creating connection to: 10.138.0.6; nested exception is: java.net.SocketException: Too many open files


Solutions on the web

Solution icon of stackoverflow
Exception creating connection to: 10.138.0.6; nested exception is: java.net.SocketException: Too many open files

Solution icon of oraclecommunity
via Oracle Community by 843811, 3 months ago
Exception creating connection to: <IP ADDRESS>; nested exception is: java.net.SocketException: Default SSL context init failed: Too many certificates in chain

Solution icon of googlegroups
via Google Groups by Waldemar Kłaczyński, 1 week ago
Exception creating connection to: 192.168.0.1; nested exception is: java.net.SocketException: com.softp.corporatebanking.komunikacja.CBSSLSocketFactory

Solution icon of oraclecommunity
via Oracle Community by 843793, 3 months ago
Exception creating connection to: 203.173.243.151; nested exception is: java.net.SocketException: Connection reset by peer: connect

Solution icon of openjdk
via JDK Bug System by Filipp Zhinkin, 4 months ago
Exception creating connection to: 10.162.98.117; nested exception is: java.net.SocketException: Connection reset by peer

Solution icon of googlegroups
via Google Groups by Howard Dierking, 2 months ago
Exception creating connection to: 10.215.28.67; nested exception is: java.net.SocketException: Network is unreachable

Solution icon of googlegroups
via Google Groups by piterboss, 2 months ago
Exception creating connection to: 127.0.0.1; nested exception is java.net.SocketException: Software caused connection abort: connect

Solution icon of github
via GitHub by JimAthrs
, 5 months ago
Exception creating connection to: 172.16.3.84; nested exception is: java.net.SocketException: Permission denied: connect

Solution icon of stackoverflow
Exception creating connection to: 192.168.30.175; nested exception is: java.net.SocketException: Permission denied: connect

Solution icon of oraclecommunity
via Oracle Community by 843793, 1 year ago
Exception creating connection to: 80.201.202.59; nested exception is: java.net.SocketException: Default SSL context init failed: null

Stack trace

java.rmi.ConnectIOException: Exception creating connection to: 10.138.0.6; nested exception is: 
        java.net.SocketException: Too many open files
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:631)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:130)
	at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
	at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
	at com.sun.proxy.$Proxy2.processBatch(Unknown Source)
	at org.apache.jmeter.samplers.BatchSampleSender.sampleOccurred(BatchSampleSender.java:184)
	at org.apache.jmeter.samplers.DataStrippingSampleSender.sampleOccurred(DataStrippingSampleSender.java:111)
	at org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteListenerWrapper.java:104)
	at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:67)
	at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:852)
	at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:505)
	at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:418)
	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:249)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Too many open files
	at java.net.Socket.createImpl(Socket.java:460)
	at java.net.Socket.<init>(Socket.java:431)
	at java.net.Socket.<init>(Socket.java:211)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148)
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
	... 15 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
2 more bugmates