Hi,
I'm using JBoss2.4.6 with catalina, j2sdk1.4.0_01, PostgreSQL 7.2.1, Linux 2.4.18
My application uses servlet, session beans and entity beans.
When i connect a lot of client in the same time (for example, 2000 clients, each one per 200ms), i've got this error :
[16:31:59,004,Engine] Ajp13Connector[8009] accept:
java.net.SocketException: Too many open files in system
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343)
at java.net.ServerSocket.implAccept(ServerSocket.java:438)
at java.net.ServerSocket.accept(ServerSocket.java:409)
at org.apache.ajp.tomcat4.Ajp13Connector.run(Ajp13Connector.java:792)
at java.lang.Thread.run(Thread.java:536)
[16:31:59,005,Engine] Ajp13Connector[8009] Opening server socket on all host IP addresses
What does it means ?
thanks
Bruno
http://www.patoche.org/LTT/kernel/00000128.html
Each socket gets a file descriptor, so it counts
as an open file as well.
Regards,
Adrian