Open file descriptors
We are facing some problem in our java application running on an AIX platform, where we have reached the maximum limit of open file descriptors. This java process opens a listening port and we run a test where multiple client applications send a request and close the connections after receiving the response messages. We have checked that each client closes the socket after getting the response. In addition running netstat command at the end does not show opened sockets. After the test ends I run lost for my java process and I get a large number of opened file descriptors, including pipes and sockets (those objects did not show prior running the test).
The connection layer between client and server is TCP. We use Spring Integration framework (version 5.5.3) to read messages from sockets into the application and to write the response back. The TCP server connection factory used is TcpNioServerConnectionFactory. Beans, channel adapters and channels are defined in an xml file.
Has anybody reported some similar issue in the past? Should java application close connections, file descriptors?
GitHub issues are NOT for asking questions - use Stack Overflow or the Discussions tab.
If netstat reports no open sockets then it sounds like a problem with the JVM, not the application.
I have never heard of such a problem.
I am not sure anyone here can help diagnose an AIX problem.
I have similar problem with Solaris. Do you familiar with such problem?
Closed as Invalid