You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Sami Siren (Updated) (JIRA)" <ji...@apache.org> on 2012/03/06 12:18:58 UTC

[jira] [Updated] (SOLR-3148) SystemInfoHandler does not expose all available info

     [ https://issues.apache.org/jira/browse/SOLR-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sami Siren updated SOLR-3148:
-----------------------------

    Fix Version/s: 3.6
    
> 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: 3.6, 4.0
>            Reporter: Sami Siren
>            Assignee: Sami Siren
>            Priority: Minor
>             Fix For: 3.6, 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org