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

ASF subversion and git services commented on GEODE-8521:
--------------------------------------------------------

Commit e26d75956bbf12d04c6fab1d6d08b6ce5f58ec25 in geode's branch 
refs/heads/develop from Darrel Schneider
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=e26d759 ]

GEODE-8521: detect if a p2p reader thread is hung (#5763)

* AbstractExecutor can now be suspended and resumed.
This does nothing on the base class but on P2PReaderExecutorGroup
it turns monitoring on and off.
Also the monitor thread will now detect a zero startTime
and in that case set the startTime allowing threads being
monitored to not keep setting it themselves (which happens more often).

* the timeInterval and timeLimit that come from gemfire properties
will now always be the values configured on the DistributedSystem.
Previously the thread monitoring classes had their own instance of
DistributionConfigImpl which at least in some cases could be inconsistent
the the config on the DistributedSystem. Now these two config values
are passed in to the constructor.

* If an instance of ResourceManagerStats can not be found then
it will now only prevent the monitor from updating the "numThreadsStuck"
stat. Before it prevented it from doing any detection and logging.
The lazy initialization of the ResourceManagerStats is now cleaner and does
not require the integration test to explicitly call run().

Co-authored-by: Darrel Schneider <dar...@vmware.com>

> Add P2P message reader threads to thread monitoring
> ---------------------------------------------------
>
>                 Key: GEODE-8521
>                 URL: https://issues.apache.org/jira/browse/GEODE-8521
>             Project: Geode
>          Issue Type: Wish
>          Components: messaging
>            Reporter: Kirk Lund
>            Assignee: Darrel Schneider
>            Priority: Major
>              Labels: GeodeOperationAPI, pull-request-available
>             Fix For: 1.14.0
>
>
> Add P2P message reader threads to thread monitoring to help with identifying 
> stuck P2P message readers.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to