Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
For some strange reason cgcreate fails to create cgroup when running concurrently. What is strange is that CGroupsManager.createContainer() uses synchronized code using CGroupManager.class which provides class level locking. So there should not be any contention at all. Yet if run concurrently the cgcreate consistently fails unless there is sufficient wait time added between calls.