NodeJS で Redis DB を使用しています。時折、例外が発生し、サーバー (NodeJS) がクラッシュして再起動するだけです。
Error: Redis connection to localhost:6380 failed - getaddrinfo ENOTFOUND
誰かがなぜこれが起こるのか説明できますか? 以下の設定はこれと関係がありますか?
# Set the max number of connected clients at the same time. By default
# this limit is set to 10000 clients, however if the Redis server is not
# able ot configure the process file limit to allow for the specified limit
# the max number of allowed clients is set to the current file limit
# minus 32 (as Redis reserves a few file descriptors for internal uses).
#
# Once the limit is reached Redis will close all the new connections sending
# an error 'max number of clients reached'.
#
# maxclients 10000