EAP 7 is slow to open logging configuration in the management console
Issue
- EAP 7 is slow to open logging configuration in the management console. We note this particularly when there are many files (1000+) in the log directory. Thread dumps show a thread persisting in the following:
"External Management Request Threads -- 7" - Thread t@339
java.lang.Thread.State: RUNNABLE
at sun.nio.fs.UnixNativeDispatcher.access0(Native Method)
at sun.nio.fs.UnixNativeDispatcher.access(UnixNativeDispatcher.java:449)
at sun.nio.fs.UnixFileSystemProvider.checkAccess(UnixFileSystemProvider.java:306)
at java.nio.file.Files.isAccessible(Files.java:2455)
at java.nio.file.Files.isReadable(Files.java:2490)
at org.jboss.as.logging.LoggingResource$1.visitFile(LoggingResource.java:269)
at org.jboss.as.logging.LoggingResource$1.visitFile(LoggingResource.java:252)
at java.nio.file.Files.walkFileTree(Files.java:2670)
at org.jboss.as.logging.LoggingResource.findFiles(LoggingResource.java:252)
at org.jboss.as.logging.LoggingResource.getChildrenNames(LoggingResource.java:158)
at org.jboss.as.logging.LoggingResource.hasReadableFile(LoggingResource.java:230)
at org.jboss.as.logging.LoggingResource.getChild(LoggingResource.java:108)
Environment
- JBoss Enterprise Application Platform (EAP) 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
