Could you clarify whether the problem exists both on LXC and the VM, or only on LXC?
The container seems to be running out of RAM after which it would naturally change to using swap. Swap, being located on the filesystem, is many times slower than RAM and would present a major bottleneck in...