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
agent log (grep "Too many")
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2395 Imported an attachment (id=368788)
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs. keyword: new = Tracking + FutureFeature + SubBug
making sure we're not missing any bugs in rhq_triage
Ian - what are your thoughts - is this a known sigar issue?
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.