You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Stefan Matheis (steffkes) (JIRA)" <ji...@apache.org> on 2013/08/21 13:37:52 UTC

[jira] [Created] (SOLR-5178) Admin UI - Memory Graph on Dashboard shows NaN for unused Swap

Stefan Matheis (steffkes) created SOLR-5178:
-----------------------------------------------

             Summary: Admin UI - Memory Graph on Dashboard shows NaN for unused Swap
                 Key: SOLR-5178
                 URL: https://issues.apache.org/jira/browse/SOLR-5178
             Project: Solr
          Issue Type: Bug
          Components: web gui
    Affects Versions: 4.4, 4.3
            Reporter: Stefan Matheis (steffkes)
            Assignee: Stefan Matheis (steffkes)
            Priority: Minor
             Fix For: 4.5, 5.0


If the System doesn't use Swap, the displayed memory graph on the dashboard shows {{NaN}} (not a number) because it tries to divide by zero.

{code}"system":{
	"name":"Linux",
	"version":"3.2.0-39-virtual",
	"arch":"amd64",
	"systemLoadAverage":3.38,
	"committedVirtualMemorySize":32454287360,
	"freePhysicalMemorySize":912945152,
	"freeSwapSpaceSize":0,
	"processCpuTime":56274650000000,
	"totalPhysicalMemorySize":71881908224,
	"totalSwapSpaceSize":0,
	"openFileDescriptorCount":350,
	"maxFileDescriptorCount":4096,
	"uname": "Linux ip-xxx-xxx-xxx-xxx 3.2.0-39-virtual #62-Ubuntu SMP Thu Feb 28 00:48:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux\n",
	"uptime":" 11:24:39 up 4 days, 23:03, 1 user, load average: 3.38, 3.10, 2.95\n"
}{code}

We should add an additional check for that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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