Error java.net.SocketException: Too many open files at deployment in jboss-portal-2.7.2

The question was asked: 49 years 9 months ago   views: 16
0

When you start the jboss-portal-2.7.2 at some point in the logs starts to appear the message:

2013-01-30 20:32:02,541 ERROR [org.apache.tomcat.util.net.JIoEndpoint] Socket accept failed 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:309) at java.lang.Thread.run(of the Thread.java:662)

In the deploy folder, only about 20 .war modules. How to solve?

Asked: 01-01-1970 в 03:00:00

Answers   1

0

If run under Linux, then increase ulimit:

ulimit-n 10000
Answered: 01-02-2013 в 00:22:28