Bug 535729 (RHQ-2395)

Summary: [NativeSystemInfo.getFileSystem] Too many open files
Product: [Other] RHQ Project Reporter: Joakim Sandstrom <fredrik.joakim.sandstrom>
Component: AgentAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 1.2CC: ccrouch, cwelton, jshaughn
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-2395
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-09 15:47:16 UTC Type: ---
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: 565628    
Attachments:
Description Flags
log.tar.gz none

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.