You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2008/06/03 15:46:44 UTC

[jira] Created: (SLING-506) RepositoryPinger pings too often

RepositoryPinger pings too often
--------------------------------

                 Key: SLING-506
                 URL: https://issues.apache.org/jira/browse/SLING-506
             Project: Sling
          Issue Type: Bug
          Components: JCR
            Reporter: Bertrand Delacretaz
            Priority: Minor


SLING-505 reminds me that I've seen the RepositoryPinger ping way too often, and a colleague reports seeing two active RepositoryPinger threads in his system.

We need to test this again, and maybe restructure the code to allow for automated testing of the ping cycle times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-506) RepositoryPinger pings too often

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated SLING-506:
------------------------------------

    Affects Version/s:     (was: JCR Jackrabbit Server 2.0.2)
                       JCR Base 2.0.2

This is a problem of the jcr/base module

> RepositoryPinger pings too often
> --------------------------------
>
>                 Key: SLING-506
>                 URL: https://issues.apache.org/jira/browse/SLING-506
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.0.2
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: JCR Base 2.0.4
>
>
> SLING-505 reminds me that I've seen the RepositoryPinger ping way too often, and a colleague reports seeing two active RepositoryPinger threads in his system.
> We need to test this again, and maybe restructure the code to allow for automated testing of the ping cycle times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-506) RepositoryPinger pings too often

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz updated SLING-506:
--------------------------------------

        Fix Version/s: JCR Jackrabbit Server 2.0.4
    Affects Version/s: JCR Jackrabbit Server 2.0.2

> RepositoryPinger pings too often
> --------------------------------
>
>                 Key: SLING-506
>                 URL: https://issues.apache.org/jira/browse/SLING-506
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Jackrabbit Server 2.0.2
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: JCR Jackrabbit Server 2.0.4
>
>
> SLING-505 reminds me that I've seen the RepositoryPinger ping way too often, and a colleague reports seeing two active RepositoryPinger threads in his system.
> We need to test this again, and maybe restructure the code to allow for automated testing of the ping cycle times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SLING-506) RepositoryPinger pings too often

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz closed SLING-506.
-------------------------------------

    Resolution: Fixed

Fixed in revision 689045, the ping interval logic was broken.

Ping intervals are now set between the configured min and max values, and ramped up if the repository is not available, to avoid pinging too often.

Changes to the ping interval are logged at the DEBUG level.

If the repository is available immediately at startup, this is logged:

  Repository Pinger interval set to 10000 msec, repository is available

If the repository becomes available about 5 seconds after startup, the interval sequence is:

14:19:40.865  Repository Pinger interval set to 200 msec, repository is NOT available
14:19:41.153  Repository Pinger interval set to 400 msec, repository is NOT available
14:19:41.555  Repository Pinger interval set to 800 msec, repository is NOT available
14:19:42.356  Repository Pinger interval set to 1600 msec, repository is NOT available
14:19:43.958  Repository Pinger interval set to 3200 msec, repository is NOT available
14:19:48.013  Repository Pinger interval set to 10000 msec, repository is available

> RepositoryPinger pings too often
> --------------------------------
>
>                 Key: SLING-506
>                 URL: https://issues.apache.org/jira/browse/SLING-506
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>
> SLING-505 reminds me that I've seen the RepositoryPinger ping way too often, and a colleague reports seeing two active RepositoryPinger threads in his system.
> We need to test this again, and maybe restructure the code to allow for automated testing of the ping cycle times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SLING-506) RepositoryPinger pings too often

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz reassigned SLING-506:
-----------------------------------------

    Assignee: Bertrand Delacretaz

> RepositoryPinger pings too often
> --------------------------------
>
>                 Key: SLING-506
>                 URL: https://issues.apache.org/jira/browse/SLING-506
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>
> SLING-505 reminds me that I've seen the RepositoryPinger ping way too often, and a colleague reports seeing two active RepositoryPinger threads in his system.
> We need to test this again, and maybe restructure the code to allow for automated testing of the ping cycle times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.