Problem Description
The following error is returned on Aerospike clients and want to determine if it is the client or server that is running into the open file limit.
018-07-21T07:11:00,516 ERROR - Aeropsike object(net.aerospike.Test) key: Test:711_713, operation : WRITE
com.aerospike.client.AerospikeException$Connection: Error Code -8: SocketChannel open error: Too many open files
com.aerospike.client.AerospikeException$Connection: Error Code -8: SocketChannel open error: Too many open files
...
Explanation
This is a client side error. The error is raised when the client tries to open a new socket file descriptor.
Solution
Check the file descriptor limits on the machine where the client runs and increase them if necessary, or review the overall sizing of the system (more client hosts may be needed for the throughput, or the cluster may need to be tuned or sized to avoid clients opening too many connections which sometimes are simply a result of compensating for slow transactions).
Applies To Earliest Version
Pre 4.9
Applies To Latest Version
Current Version