java.net.SocketException

Too many open files


Samebug tips1

Check if you don't have a VPN running, as it might cause conflict and throw this exception.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web323

Solution icon of coderanch
via Coderanch by Sun Nansong, 8 months ago
Too many open files

Solution icon of coderanch
via Coderanch by PankajKumar jaiswal, 8 months ago
Too many open files

Solution icon of bugzilla
via Eclipse Bugzilla by eclipse, 1 year ago
Too many open files

Solution icon of github
via GitHub by vetss
, 1 year ago
Too many open files

Solution icon of github
via GitHub by maxwell1985
, 3 months ago
Too many open files

Solution icon of github
Too many open files

Solution icon of github
Too many open files

Solution icon of github
via GitHub by ehankland
, 1 year ago
Too many open files

Solution icon of github
Too many open files

Solution icon of github
Too many open files

Stack trace

  • java.net.SocketException: Too many open files at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408) at java.net.ServerSocket.implAccept(ServerSocket.java:462) at java.net.ServerSocket.accept(ServerSocket.java:430) at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:61) at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:352)

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, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 week ago
Once, 7 months ago
Samebug visitor profile picture
Unknown user
2 times, 11 months ago
15 more bugmates