ros-infrastructure / buildfarm_deployment

Apache License 2.0
30 stars 39 forks source link

enable cgroup memory management #233

Open tfoote opened 4 years ago

tfoote commented 4 years ago

If we set GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1" in /etc/defaults/grub and make sure to trigger update-grub we can leverage cgroup memory management in docker.

At the moment it's set to ""

Which will enable: https://github.com/ros-infrastructure/ros_buildfarm/issues/271