You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Nikolay Tikhonov (JIRA)" <ji...@apache.org> on 2015/12/07 14:30:11 UTC

[jira] [Commented] (IGNITE-2092) Ignite does not recognize the right number of CPU cores when running under Docker

    [ https://issues.apache.org/jira/browse/IGNITE-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044923#comment-15044923 ] 

Nikolay Tikhonov commented on IGNITE-2092:
------------------------------------------

I didn't find a standart Java API which allows to get available cpu counts when CGROUPS configured. We can get right number of CPU by native API (nproc) and manage which will be using (java API or native) by env variable.

> Ignite does not recognize the right number of CPU cores when running under Docker
> ---------------------------------------------------------------------------------
>
>                 Key: IGNITE-2092
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2092
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: ignite-1.4
>            Reporter: Denis Magda
>            Assignee: Nikolay Tikhonov
>             Fix For: 1.6
>
>
> Run Ignite under a Docker container.
> Limit Ignite from using all CPUs by way of Docker settings (which internally uses Linux CGROUPS). 
> Ignite will still report that all available CPUs are used ignoring Docker settings.



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