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


    利用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/

  • 相关阅读:
    find the most comfortable road
    Rank of Tetris
    Segment set
    Codeforces Round #380 (Div. 2)D. Sea Battle
    A Bug's Life
    Is It A Tree?
    N皇后问题
    符号三角形
    2016 ICPC总结
    Sudoku Killer
  • 原文地址:https://www.cnblogs.com/lasclocker/p/4624896.html
Copyright © 2020-2023  润新知