Sometimes under heavy load (many VMs) getting i/o timeout error when running a lxc commands:
write unix @->/var/snap/lxd/common/lxd/unix.socket: i/o timeout
It’s due to heavy load on the system, I’m using retry mechanism to reduce failures but still getting nevertheless, does increasing system limits will help?
According to this doc, there is no need to touch /etc/security/limits.conf
since I’m using snap
I did update accordingly /etc/sysctl.conf
fs.aio-max-nr = 524288
fs.inotify.max_queued_events = 1048576
fs.inotify.max_user_instances = 1048576
fs.inotify.max_user_watches = 1048576
kernel.dmesg_restrict = 1
kernel.keys.maxbytes = 2000000
kernel.keys.maxkeys = 2000
net.core.bpf_jit_limit = 3000000000
net.ipv4.neigh.default.gc_thresh3 = 8192
net.ipv6.neigh.default.gc_thresh3 = 8192
vm.max_map_count = 262144
still getting same error once in a while, any advice?