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

Nikolay Tikhonov edited comment on IGNITE-2092 at 12/7/15 1:45 PM:
-------------------------------------------------------------------

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 API will be using (java or native) by env variable.


was (Author: ntikhonov):
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)

Reply via email to