首页 > 其他 > 详细

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

时间:2015-07-06 19:21:10      阅读:284      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!