You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2016/05/19 10:10:12 UTC

[jira] [Created] (OAK-4378) LeaseUpdateCheck: check state of background threads

Julian Reschke created OAK-4378:
-----------------------------------

             Summary: LeaseUpdateCheck: check state of background threads
                 Key: OAK-4378
                 URL: https://issues.apache.org/jira/browse/OAK-4378
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: documentmk
            Reporter: Julian Reschke
            Priority: Minor


We've seen cases where instances were shut down due to the lease update check lacking any clear reason why this would happen.

At least in one case we found that previous to the lease update check starting to complain, there was a temporary out-of-memory condition. Increasing the Java heap size fixed the problem for that server.

The DocumentNodeStore's {{NodeStoreTask}} *does* catch all Throwables and log them, but AFAIU, there's a risk that the OOM condition will cause the code in the catch clause to throw again.

At this point I'm not suggesting any change here, but for the lease update check, it might be good to check the state of the background threads as well.



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