Bug 535729 (RHQ-2395) - [NativeSystemInfo.getFileSystem] Too many open files
Summary: [NativeSystemInfo.getFileSystem] Too many open files
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: RHQ-2395
Product: RHQ Project
Classification: Other
Component: Agent
Version: 1.2
Hardware: All
OS: All
low
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: rhq_triage
TreeView+ depends on / blocked
 
Reported: 2009-08-31 05:04 UTC by Joakim Sandstrom
Modified: 2014-05-09 15:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-09 15:47:16 UTC
Embargoed:


Attachments (Terms of Use)
log.tar.gz (213.29 KB, application/x-gzip)
2009-08-31 05:05 UTC, Joakim Sandstrom
no flags Details

Description Joakim Sandstrom 2009-08-31 05:04:00 UTC
This error appears on the rhq-agent once a week, so someone isn't freeing resources.

agent.log-2009-08-31 07:05:13,243 WARN  [ResourceContainer.invoker.daemon-9054] (org.rhq.core.system.NativeSystemInfo)- Cannot obtain native file system information for [/kvm]
agent.log:org.hyperic.sigar.SigarException: Too many open files
agent.log-      at org.hyperic.sigar.SigarProxyCache.invoke(SigarProxyCache.java:222)
agent.log-      at $Proxy36.getFileSystemMap(Unknown Source)
agent.log-      at org.rhq.core.system.NativeSystemInfo.getFileSystem(NativeSystemInfo.java:309)
agent.log-      at org.rhq.plugins.platform.FileSystemComponent.getFileSystemInfo(FileSystemComponent.java:69)
agent.log-      at org.rhq.plugins.platform.FileSystemComponent.getAvailability(FileSystemComponent.java:59)

agent.log-2009-08-31 07:32:37,186 WARN  [ResourceContainer.invoker.daemon-9054] (org.rhq.core.system.NativeSystemInfo)- Cannot obtain native file system information for [/home]
agent.log:org.hyperic.sigar.SigarException: Too many open files
agent.log-      at org.hyperic.sigar.SigarProxyCache.invoke(SigarProxyCache.java:222)
agent.log-      at $Proxy36.getFileSystemMap(Unknown Source)
agent.log-      at org.rhq.core.system.NativeSystemInfo.getFileSystem(NativeSystemInfo.java:309)
agent.log-      at org.rhq.plugins.platform.FileSystemComponent.getFileSystemInfo(FileSystemComponent.java:69)
agent.log-      at org.rhq.plugins.platform.FileSystemComponent.getAvailability(FileSystemComponent.java:59)

rhq-core 1.2
jopr: 2.2.0


Comment 1 Joakim Sandstrom 2009-08-31 05:05:39 UTC
agent log (grep "Too many")

Comment 2 Red Hat Bugzilla 2009-11-10 21:03:36 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2395
Imported an attachment (id=368788)


Comment 3 wes hayutin 2010-02-16 16:59:25 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 4 wes hayutin 2010-02-16 17:04:38 UTC
making sure we're not missing any bugs in rhq_triage

Comment 5 Corey Welton 2010-11-22 17:59:14 UTC
Ian - what are your thoughts - is this a known sigar issue?

Comment 6 Ian Springer 2010-11-23 22:31:10 UTC
I don't see anything like that in SIGAR jira. My guess is that this is not a SIGAR bug. There could be code in the RHQ Agent, PC, or plugins that is not closing files when done with them. We will need to do an audit of all that code to look for all R/W input streams or readers/writers are being closed.


Note You need to log in before you can comment on or make changes to this bug.