max open connections = asyncMaxCommands
The actual number of open connections to each node of the Aerospike cluster depends on how balanced the commands are between nodes and are limited to asyncMaxConnsPerNode for any given node. For an extreme case where all commands may be destined to the same node of the cluster, asyncMaxCommands should not be set greater than asyncMaxConnsPerNode to avoid running out of connections to the node.Further, this maximum number of open connections across all nodes should not exceed the total socket file descriptors available on the client machine. The socket file descriptors available can be determined by the following command:
ulimit -n
Default: 100
public int asyncMaxCommands