java.net.SocketException: Too many open files

后端 未结 5 1475
轻奢々
轻奢々 2020-11-29 07:51

I have a java app which runs just fine (on Ubuntu 10.04) for few hours until it hits \"java.net.SocketException: Too many open files\". The code for Sender.java can be found

5条回答
  •  粉色の甜心
    2020-11-29 07:51

    You might also want to check the linux maximum open file limit. This related link is for a bespoke java-based product but it nicely explains the steps required to fix the issue.

提交回复
热议问题