After installing a Diagnostics Probe on the application server, if the following error occurs in the application log:
java.net.SocketException: Too many open files at java.net.PlainSocketImpl.socketAccept(Native Method)
The number of connections available on the JBoss/Linux server is the cause for this problem. Linux only allows 1024 connections.
The presence of the agent can create the requirement for many more connections than usual.
The fix – set "ulimit -n" in the shell that is running the application server (such as the run.sh).
"ulimit -n" sets unlimited connections to the Linux/JBoss server, thereby allowed the agent and application to function properly.