Kuzzle shuts down on its own

122 Views Asked by At

I am trying to use Kuzzle 2.13.3 using docker on a 8GB RAM 4vCPU self-managed cloud instance. Everything seems fine, except that the Kuzzle node shuts down on its own after random period of time. Here are the logs towards the end:

{"level":"error","message":"2021-07-22T06:25:13+00:00 [LOG:ERROR] [knode-icky-vampire-54285] [CLUSTER] Node too slow: ID card expired"}
{"level":"info","message":"2021-07-22T06:25:13+00:00 [LOG:INFO] [knode-icky-vampire-54285] Initiating shutdown..."}
{"level":"info","message":"2021-07-22T06:25:13+00:00 [LOG:INFO] [knode-icky-vampire-54285] Halted."}
[nodemon] clean exit - waiting for changes before restart

what I need to do to get past this issue?

1

There are 1 best solutions below

2
Aschen On

When the node cannot refresh it's ID card inside Redis in time, it will shutdown to ensure always having an healthy cluster.

You can try to increase the heartbeat delay from the configuration with the cluster.heartbeat key. The default value is 2000 (ms).