I’ve been trying to understand why resources keep creeping in until total server failure.
There are 4 containers with different projects and 1 with Haproxy managing the requests.
On the dashboard, we can see that that the memory usage keeps growing, we restart the server and it goes lower again and keeps growing again.
On the main server, there are a lot of forkproxy processes draining the memory, but inside individual containers, there’s minimal memory usage.
Any clue on what might be causing it?
Currently running LXC 3.0.3 on bionic.
Thanks,
I ran snap remove lxd
and then snap install lxd
Now I’m on LXD 4.0.1 and LXC 3.0.3
How can I get to LXC 4?
Meanwhile, all my containers disappeared
I was bring then back from the previous server following this guide:
but with little success: Error: The instance "haproxy" does not seem to exist on any storage pool
I saw on a another post that you made the location changed to: /var/snap/lxd/common/lxd/storage-pool/default/containers/haproxy
but the folder doesn’t even exist.
Any help would be appreciated.
A memory leak does not look that bad now
Thanks,
Ok, let’s see how bad it is. You should never run snap remove lxd unless you actually want it and everything it stores removed… Though hopefully we can still recover somehow.
Ok, good. Try running apt-get install lxd.
Then /usr/bin/lxc list see if things look reasonable.
Try starting a container to make sure things are all working again.
Once that’s all good, run lxd.migrate to move to the snap.