Asterisk-java ManagerReader exception

Hello There!

We have an application initiates calls using AMI. Everything is working fine with limited load. When there are simultaneous calls of 200+ getting below exception. Exception definitely on socket from client side, but what to look for to resolve the issue. TIA. No more lines available: null
at org.asteriskjava.util.internal.SocketConnectionFacadeImpl.readLine(
at Source)

Thank you
Dev I

As far as I know, the Java library is third party code.

However, I would guess that you simply ran out of file descriptors. You could try increasing the relevant ulimit setting.