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 Google Groups by Alex, 5 months ago
via Google Groups by Chuck Scott, 2 years ago
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 winstone.HttpListener.run(HttpListener.java:136)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

2 times, 5 months ago
Once, 1 year ago
Once, 1 year ago
27 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago

Write tip

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