java.net.SocketException: Too many open files

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

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

Solutions on the web

via Jenkins JIRA by Oleg Nenashev, 1 year ago
Too many open files
via Jenkins JIRA by Oleg Nenashev, 1 year ago
Too many open files
via GitHub by willywos
, 1 year ago
Too many open files
java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
at java.net.ServerSocket.implAccept(ServerSocket.java:530)
at java.net.ServerSocket.accept(ServerSocket.java:498)
at winstone.HttpListener.run(HttpListener.java:139)
at java.lang.Thread.run(Thread.java:724)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 times, 3 months ago
Once, 10 months ago
15 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.