title: Redis & NodeJS - Connection exception
body: <p>I'm using Redis DB with NodeJS. Occasionally I get below exception and my server (NodeJS) crashes only to restart again.</p>
  
  <pre><code>Error: Redis connection to localhost:6380 failed - getaddrinfo ENOTFOUND
  </code></pre>
  
  <p>Can someone explain why this happens? Does the below config has something to do with this?</p>
  
  <pre><code># 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
  </code></pre>