karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raul Kripalani (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-986) Synchronisation issue when rootLogger is DEBUG and Karaf is started afresh
Date Tue, 08 Nov 2011 16:21:51 GMT
Synchronisation issue when rootLogger is DEBUG and Karaf is started afresh
--------------------------------------------------------------------------

                 Key: KARAF-986
                 URL: https://issues.apache.org/jira/browse/KARAF-986
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 2.2.4
            Reporter: Raul Kripalani


When working in development mode, you will many times set your rootLogger's level to DEBUG.

If you delete the $KARAF_HOME/data dir and start afresh while your rootLogger remains on DEBUG,
Karaf will likely block during bundle startup if you have large number of boot features (e.g.
ServiceMix) defined in the {{featuresBoot}} property under {{org.apache.karaf.features.cfg}}.


Changing the log level back to INFO avoids the issue.

Looks like it only happens if a large number of threads is emitting log statements simultaneously,
as seen in [1] & [2]. Thread dump looks exactly the same as the one submitted in [1].

Not sure if there's much we can do on the Karaf side of things, but I guess it's worth raising.

[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=50213
[2] https://issues.apache.org/bugzilla/show_bug.cgi?id=51047

--
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

        

Mime
View raw message