[ https://issues.apache.org/jira/browse/SOLR-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sami Siren resolved SOLR-3148. ------------------------------ Resolution: Fixed Fix Version/s: 4.0 Assignee: Sami Siren This seems to work ok now. I did not change the ulimit part. > SystemInfoHandler does not expose all available info > ---------------------------------------------------- > > Key: SOLR-3148 > URL: https://issues.apache.org/jira/browse/SOLR-3148 > Project: Solr > Issue Type: Bug > Affects Versions: 4.0 > Reporter: Sami Siren > Assignee: Sami Siren > Priority: Minor > Fix For: 4.0 > > > The following info is not returned even when they are available (on java 1.6 > and 1.7): > {code} > getSystemLoadAverage() > getOpenFileDescriptorCount() > getMaxFileDescriptorCount() > getCommittedVirtualMemorySize() > getTotalPhysicalMemorySize() > getTotalSwapSpaceSize() > getProcessCpuTime() > {code} > This is happening because the following exception is thrown: > {code} > java.lang.IllegalAccessException: Class > org.apache.solr.handler.admin.SystemInfoHandler can not access a member of > class com.sun.management.UnixOperatingSystem with modifiers "public native" > {code} > It seems to be enough to call setAccessible(true) on the method to get rid of > that exception. > Additionally I see a strange value for the ulimit key: > "ulimit":"(error executing: ulimit -n)", -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org