DataToKnowledge / wheretolive-backend

GNU General Public License v2.0
0 stars 0 forks source link

Issue in elasticsearch cluster on azure #44

Closed fabiofumarola closed 9 years ago

fabiofumarola commented 9 years ago

I want to understand why nodes go down. I found some interesting discussions

  1. Possible causes for 'transport disconnected' errors in node discovery?
  2. multi data-center nodes going yellow

Thus, the problem can be related to the facts that:

  1. the nodes are not used and so the tcp connection is closed by azure
  2. the keep_alive time of tcp socket is too high
fabiofumarola commented 9 years ago

Now I have changed to


net.ipv4.tcp_keepalive_time = 600
net.ipv4.tcp_keepalive_intvl = 60
net.ipv4.tcp_keepalive_probes = 20

in /etc/sysctl.conf

Gigitsu commented 9 years ago

Can we close this issue?