You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Taras Ledkov (JIRA)" <ji...@apache.org> on 2016/11/17 05:32:59 UTC

[jira] [Commented] (IGNITE-4239) Public thread pool starvation is cause of deadlock when user's jobs calls cache.size()

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

Taras Ledkov commented on IGNITE-4239:
--------------------------------------

Root cause: SizeJob is always executed in the public thread pool.

> Public thread pool starvation is cause of deadlock when user's jobs calls cache.size()
> --------------------------------------------------------------------------------------
>
>                 Key: IGNITE-4239
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4239
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache, compute
>    Affects Versions: 1.6
>            Reporter: Taras Ledkov
>            Assignee: Taras Ledkov
>            Priority: Critical
>             Fix For: 1.9
>
>
> The users job are hang when a lot of jobs that calculates cache size are submitted.
> The log contains message:
> {code}
> WARNING: Possible thread pool starvation detected (no task completed in last 30000ms, is executorService pool size large enough?)
> {code}
> After a while all the thread of a public thread pool are locked on waiting the SizeTask future. 



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