mesos杀戮任务无法确定“cpu”子系统的cgroup

jpfvwuh4  于 2021-06-21  发布在  Mesos
关注(0)|答案(1)|浏览(538)

我在mesos(v0.22.1)的dockers中通过marathon(v0.9.0)运行了一系列服务,有时还运行mesos killing任务。通常多个服务同时发生
来自mesos-slave.error log的与此问题相关的日志行:

Failed to update resources for container 949b1491-2677-43c6-bfcf-bae6b40534fc 
of executor production-app-emails.15437359-a95e-11e5-a046-e24e30c7374f running task production-app-emails.15437359-a95e-11e5-a046-e24e30c7374f 
on status update for terminal task, 
destroying container: Failed to determine cgroup for the 'cpu' subsystem: 
Failed to read /proc/21292/cgroup: 
Failed to open file '/proc/21292/cgroup': No such file or directory
bfrts1fy

bfrts1fy1#

我强烈建议更新你的堆栈。mesos 0.22.1和marathon 0.9.0在今天已经过时了。mesos 0.26.0和marathon 0.13.0出局。
关于你的问题,看看
https://issues.apache.org/jira/browse/mesos-1837
https://github.com/mesosphere/marathon/issues/994
第一个建议在mesos端进行修复(post0.22.1),第二个建议缺少已启动容器的资源。
可能尝试增加特定容器的ram,如果没有帮助,那么更新mesos堆栈imho。

相关问题