Aerospike Version: Aerospike Community Edition build 3.6.3
We have a node server using Aerospike as DB. The load on the server is minimal. We have a monitoring service which monitors one of the API by repeatedly calling the API(once every minute). 99% of the time it works properly. However, once or twice a day, the get call from DB fails and we get following error:
“{"code":-1,"message":"Bad file descriptor","func":"as_socket_read_limit","file":"src/main/aerospike/as_socket.c","line":432}”
Kindly note that the Aerospike get query parameters remains the same in all those requests.
I have tried increasing the timeout to 800ms.
var config = {
hosts: settings.aerospike.hosts,
policies : {
key :aerospike.policy.key.SEND,
timeout:800
}
};
Also, have tried doubling proto-fd-max to 30000. Didn’t help
This is not a major issue now. But in future when we have hundreds of request coming in every second, we may end up dropping requests. Thanks in advance