Hi all<br><br>I am still trying to get to the bottom of this one, and I am determined to fix it. For Solaris, at least. :-)<br><br>First off, for the developers out there - how is the Percentage and Used figures determined?<br>
The numbers I am getting do not appear in the client data anywhere.<br>Also, what figure does the server use for the Total?<br><br>Looking at my own issue, I have the following.<br><pre>   Memory              Used       Total  Percentage<br>
<img src="http://127.0.0.1:20580/hobbit/gifs/red.gif" alt="red" width="16" border="0" height="16"> Physical     4294963143M       8192M 4294967246%<br><img src="http://127.0.0.1:20580/hobbit/gifs/green.gif" alt="green" width="16" border="0" height="16"> Swap               3506M      16383M         21%<br>
<br></pre>I suspect the problem might be something to do with the reported free memory, and the reported physical memory.<br>The output below comes from my client data.<br><pre>[prtconf]<br>System Configuration:  Sun Microsystems  sun4v<br>
Memory size: 8192 Megabytes<br>System Peripherals (Software Nodes):<br><br>[memory]<br> 0 0 0 16804936 12641392 36 247 0 101 101 0 0 5 1 0  1  886 3158  688  0  0 99<br>[swap]<br>total: 3590152k bytes allocated + 0k reserved = 3590152k used, 13187064k available<br>
</pre>My thinking is that having 12641392k of free memory on a system with only 8192M (8388608K) leads to a division by very small or negative number, resulting in daftness.<br>(This appears to only happen inside zones, where odd things abound with regards memory and CPUs.)<br>
<br>This theory appears valid so far, because from time to time (when memory usage is high) the free memory drops to below 8192M and I get sane figures - although probably still wrong.<br><br>If I am correct, I will probably need to hack the client script a little to more accurately reflect the total memory and the free memory. I will figure out how to do that once somebody can confirm which numbers the server uses to determine the Used and Percentage figures.<br>
<br>Regards<br>     Vernon<br><pre><br></pre><br><br><div class="gmail_quote">On Tue, Jan 19, 2010 at 2:25 PM, Vernon Everett <span dir="ltr"><<a href="mailto:everett.vernon@gmail.com">everett.vernon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all<br><br>Another contract, another emial address. :-)<br>Hope you all had a good festive season.<br>
<br>Quick question.<br>Was there ever a resolution to this issue?<br><a href="http://www.hswn.dk/hobbiton/2009/03/msg00036.html" target="_blank">http://www.hswn.dk/hobbiton/2009/03/msg00036.html</a><br>
Searched the archive, and couldn't find one.<br><br>To recap, this was where memory reports something bizzare, like this<br><pre>>    Memory              Used       Total  Percentage<br>> red Physical     4294961768M       8192M 4294967229%<br>

> green Swap               1600M       8191M         19%<br><br></pre>Regards<br><font color="#888888">      Vernon<br><br><br>
</font></blockquote></div><br>