Async client ArrayIndexOutOfBoundsException

Hi, Brian, thanks for helping out, I appreciate it, it works!!!

I got a new issue. I am making aysnc put operation in a while loop, which is about 2000 loop. However, I could only put only a few hundred records, then started to get “accept: Too many open files” as following figure shows:

image

I used “ulimit -n” command to check the max open files limit on my machine, which is 20000. I then looked at the link below, which says aerospike default setting is 100000.

https://discuss.aerospike.com/t/increase-maximum-number-of-openfiles/1372

My question is how to change the default setting to the same as my machine?

Thanks, Yi