Too many open files ( ulimit already changed )

后端 未结 3 578
死守一世寂寞
死守一世寂寞 2020-12-14 10:16

I\'m working on a debian server with tomcat 7 and java 1.7. This is an application that recieves several TCP connections, each TCP connection is an open file by the java pro

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-14 10:49

    I just put the line ulimit -n 8192 inside the catalina.sh, so when I do the catalina start, java runs with the specified limit above.

提交回复
热议问题