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

Jean-Baptiste Onofré commented on KARAF-2910:
---------------------------------------------

I identified another issue:

{code}
2014-06-23 15:44:35,720 | ERROR | 0.2-SNAPSHOT/etc | fileinstall                
      | 11 - org.apache.felix.fileinstall - 3.4.0 | In main loop, we have 
serious trouble
java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:926)[:1.7.0_51]
        at java.util.HashMap$KeyIterator.next(HashMap.java:960)[:1.7.0_51]
        at 
org.apache.felix.fileinstall.internal.WatcherScanner.scan(WatcherScanner.java:70)[11:org.apache.felix.fileinstall:3.4.0]
        at 
org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:305)[11:org.apache.felix.fileinstall:3.4.0]
{code}

I propose to revert the change to give time to investigate and work on it.

> Properties login module seems to leak a PropertiesInstaller reference results 
> in OOM
> ------------------------------------------------------------------------------------
>
>                 Key: KARAF-2910
>                 URL: https://issues.apache.org/jira/browse/KARAF-2910
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-security
>    Affects Versions: 2.3.2
>         Environment: jaas login
>            Reporter: Gary Tully
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.4.0, 4.0.0, 3.0.2, 2.3.6
>
>         Attachments: KARAF-2910-test+patch.txt
>
>
> with the default jaas login config - repeated login attempts lead to OOM.
> heap dump shows:
> org.apache.karaf.jaas.modules.properties.PropertiesInstaller 86,374 instances
> on investigation seems each PropertiesLogin init registers a 
> PropertiesInstaller service that I don't see used.
> Unit test and possible fix (though I have no idea what a PropertiesInstaller 
> service should do) attached.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to