ETCD log says "database space exceeded"

Scenario

Anka VMs error or disappear and you see in the Controller logs E1108 23:09:28.804391 1 queue_server.go:184] Server Internal error: etcdserver: mvcc: database space exceeded.. There was plenty of available space on disk. Running etcdctl compact 3 followed by etcdctl alarm disarm fixes it, but you'd like to prevent this in the future.

Common reasons

  1. Lots of VMS and Nodes

Solution

Increase the space quota from the default 2GB: [https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/maintenance.md#space-quota](https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/maintenance.md#space-quota)

Still experiencing problems?

Talk to us! we are available via slack or email


Last modified November 12, 2020 : 2.3.0 BETA (cc782fc) by Nathan Pierce