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

2016-11-22 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-4239:


Github user asfgit closed the pull request at:

https://github.com/apache/ignite/pull/1250


> 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 
> 3ms, 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)


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

2016-11-21 Thread Taras Ledkov (JIRA)

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

Taras Ledkov commented on IGNITE-4239:
--

[Tests 
results|http://195.239.208.174/project.html?projectId=IgniteTests=projectOverview_IgniteTests=pull%2F1250%2Fhead]

> 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 
> 3ms, 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)


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

2016-11-21 Thread Taras Ledkov (JIRA)

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

Taras Ledkov commented on IGNITE-4239:
--

[Tests 
results|http://195.239.208.174/project.html?projectId=IgniteTests=projectOverview_IgniteTests=pull%2F1250%2Fhead]

> 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 
> 3ms, 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)


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

2016-11-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-4239:


GitHub user tledkov-gridgain opened a pull request:

https://github.com/apache/ignite/pull/1250

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



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gridgain/apache-ignite ignite-4239

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/1250.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1250


commit 85a4b966fdfb7018d1c91b73df1659082128f786
Author: Pavel Tupitsyn 
Date:   2016-11-14T10:38:33Z

IGNITE-4216 .NET: Fix PlatformAffinityFunction to inject resource into 
baseFunc

commit e39888a08da313bec4d30f96488eccb36b4abacc
Author: Vasiliy Sisko 
Date:   2016-11-17T04:41:05Z

IGNITE-4163 Fixed load range queries.

commit 400140120cbd768cf032d91ab6dc16426e0054b5
Author: tledkov-gridgain 
Date:   2016-11-17T05:34:52Z

IGNITE-4239: add GridInternal annotaion for tasks instead of jobs.




> 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 
> 3ms, 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)


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

2016-11-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-4239:


Github user tledkov-gridgain closed the pull request at:

https://github.com/apache/ignite/pull/1242


> 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 
> 3ms, 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)


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

2016-11-16 Thread Taras Ledkov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-4239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 
> 3ms, 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)