码迷,mamicode.com
首页 > 其他好文 > 详细

WARNING: Your kernel does not support swap limit capabilities. Limitation discarded.

时间:2015-07-06 19:24:28      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:

利用vSphere调整各台虚拟机后,重新启动mesos,让其启动docker,并为每个container分配cpu和mem,但每次都有一个TASK_LOST.

查看mesos slave的log,发现下面的error:

WARNING: Your kernel does not support swap limit capabilities. Limitation discarded.

解决办法:

1. Log into Ubuntu as a user with sudo privileges.
2. Edit the /etc/default/grub file.
3. Set the GRUB_CMDLINE_LINUX value as follows:
   GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
4. Save and close the file.
5. Update GRUB.
   $ sudo update-grub
6. Reboot your system.

参考:  https://docs.docker.com/installation/ubuntulinux/

WARNING: Your kernel does not support swap limit capabilities. Limitation discarded.

标签:

原文地址:http://www.cnblogs.com/lasclocker/p/4624896.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!