[ 
https://issues.apache.org/jira/browse/UIMA-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerry Cwiklik closed UIMA-4862.
-------------------------------
    Resolution: Fixed

Added retry to deal with cgcreate failures. When two threads rapidly create 
cgroups one succeeds the other fails due to InterruptException. After a short 
pause retry succeeds

> UIMA-DUCC: cgcreate fails sometimes when run concurrently
> ---------------------------------------------------------
>
>                 Key: UIMA-4862
>                 URL: https://issues.apache.org/jira/browse/UIMA-4862
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.1.0-Ducc
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to