Bug 1702809

Summary: [GSS](6.4.z) JDR does not close some files properly and can cause Too many open files
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Brad Maxwell <bmaxwell>
Component: JDRAssignee: Romain Pelisse <rpelisse>
Status: CLOSED UPSTREAM QA Contact: Peter Mackay <pmackay>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.21CC: chaowan, jjaggars, pmackay, rpelisse
Target Milestone: ---   
Target Release: EAP 6.4.23   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:59:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1699388    

Description Brad Maxwell 2019-04-24 20:12:21 UTC
JDR does not close some files properly , which can cause 'Too many open files'

Skipping command org.jboss.as.jdr.commands.CollectFiles.FileNotFoundException: /home/jboss/modules/system/layers/base/.overlays/layer-base-jboss-eap-6.4.13.CP/org/jboss/as/security/main/module.xml (Too many open files)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at org.jboss.vfs.spi.RootFileSystem.openInputStream(RootFileSystem.java:51)
        at org.jboss.vfs.VirtualFile.openStream(VirtualFile.java:318)
        at org.jboss.as.jdr.commands.CollectFiles$Limiter.limit(CollectFiles.java:147)
        at org.jboss.as.jdr.commands.CollectFiles.execute(CollectFiles.java:104)
        at org.jboss.as.jdr.JdrRunner.collect(JdrRunner.java:118)
        at org.jboss.as.jdr.JdrReportService.collect(JdrReportService.java:103)
        at org.jboss.as.jdr.JdrReportRequestHandler$1.execute(JdrReportRequestHandler.java:74)

Comment 2 Romain Pelisse 2020-05-20 14:49:14 UTC
https://github.com/jbossas/jboss-eap/pull/3129 has been merged, marking as MODIFIED.

Comment 3 Peter Mackay 2020-06-30 12:12:50 UTC
Verified with EAP 6.4.23.CP.CR2

Comment 4 Red Hat Bugzilla 2025-02-10 03:59:42 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.