-
Notifications
You must be signed in to change notification settings - Fork 559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
配套书籍2.2.3章节的例子cgroup随机不生效 #86
Comments
+1 |
我运行这个加了延迟的代码。会有这个报错 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
该例子中存在线程问题,如果执行 stress命令早于创建文件夹,会导致创建的任务pid不写入testmemorylimit/tasks中,而是写入user.slice/tasks中,内存限制失效,需要添加延迟操作,确保testmemorylimit先创建
The text was updated successfully, but these errors were encountered: