<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I&#39;m running into an issue on only 1 of my OpenVZ 7 nodes where it&#39;s unable to create a directory on /sys/fs/cgroup/memory/machine.slice due to &quot;Cannot allocate memory&quot; whenever I try to start a new container or restart and existing one. I&#39;ve been trying to research this but I&#39;m unable to find any concrete info on what could cause this. It appears to be memory related because sometimes if I issue &quot;echo 1 /proc/sys/vm/drop_caches&quot; it allows me to start a container (this only works sometimes) but my RAM usage is extremely low with no swapping (swappiness even set to 0 for testing). Thank you in advance for your help.</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Example:</div><div dir="ltr"><div dir="ltr"><b># vzctl start 9499</b></div><div dir="ltr"><b>Starting Container ...</b></div><div dir="ltr"><b>Mount image: /vz/private/9499/root.hdd</b></div><div dir="ltr"><b>Container is mounted</b></div><div dir="ltr"><b>Can&#39;t create directory /sys/fs/cgroup/memory/machine.slice/9499: Cannot allocate memory</b></div><div dir="ltr"><b>Unmount image: /vz/private/9499/root.hdd (190)</b></div><div dir="ltr"><b>Container is unmounted</b></div><div dir="ltr"><b>Failed to start the Container</b></div><div><br></div><div><br></div><div>Node Info:<br></div><div><div><b>Uptime:      10 days</b></div><div><b>OS:          Virtuozzo 7.0.15</b></div><div><b>Kernel:      3.10.0-1127.18.2.vz7.163.46 GNU/Linux</b></div><div><b>System Load: 3.1</b></div><div><b>/vz Usage:   56% of 37T</b></div><div><b>Swap Usage:  0%</b></div><div><b>RAM Free:    84% of 94.2GB</b></div></div><div><b><br></b></div><div><div><b># free -m</b></div><div><b>                    total        used        free            shared   buff/cache   available</b></div><div><b>Mem:          96502       14259     49940         413         32303           80990</b></div><div><b>Swap:         32767       93           32674</b></div></div><div dir="ltr" class="gmail_signature"><div></div></div></div></div></div></div></div>