You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/03 01:56:53 UTC

[jira] [Resolved] (SLING-2398) Sling Mappings creates new threads to reload mappings

     [ https://issues.apache.org/jira/browse/SLING-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved SLING-2398.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: JCR Resource 2.1.0

Works now with a single thread
                
> Sling Mappings creates new threads to reload mappings
> -----------------------------------------------------
>
>                 Key: SLING-2398
>                 URL: https://issues.apache.org/jira/browse/SLING-2398
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.10
>            Reporter: Hakim Sadikali
>            Assignee: Felix Meschberger
>              Labels: performance
>             Fix For: JCR Resource 2.1.0
>
>         Attachments: MapEntries.java
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Whenever the /etc/map or a sling:vanityPath, sling:vanityOrder or sling:redirect is modified a new thread is created to recreate the maps.  If these values get modified very quickly, then its possible to create too many new threads and kill the system.  A better implementation would be to check to see if a thread is running and reuse that thread.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira