Memory report faulty
list Vernon Everett
Hi all Another contract, another emial address. :-) Hope you all had a good festive season. Quick question. Was there ever a resolution to this issue? http://www.hswn.dk/hobbiton/2009/03/msg00036.html Searched the archive, and couldn't find one. To recap, this was where memory reports something bizzare, like this
Memory Used Total Percentage red Physical 4294961768M 8192M 4294967229% green Swap 1600M 8191M 19%
Regards
Vernon
list Stef Coene
▸
On Tuesday 19 January 2010, Vernon Everett wrote:
Hi all Another contract, another emial address. :-) Hope you all had a good festive season. Quick question. Was there ever a resolution to this issue? http://www.hswn.dk/hobbiton/2009/03/msg00036.html Searched the archive, and couldn't find one. To recap, this was where memory reports something bizzare, like thisMemory Used Total Percentage red Physical 4294961768M 8192M 4294967229% green Swap 1600M 8191M 19%Regards Vernon
I have the same problem on an aix server. This is the output of the vmstat command. As you can see, the avm column is 'attached' to the next column: System Configuration: lcpu=4 mem=6144MB kthr memory page faults cpu ----- ----------- ------------------------ ------------ ----------- r b avm fre re pi po fr sr cy in sy cs us sy id wa 2 1 4295454056 5793 0 0 0 61 80 0 60 30162 1606 9 8 80 3 Not much that I can do, except rebooting the box :( Stef
list Vernon Everett
Don't think a reboot is going to fix this one for me.
We tried it, and it comes good for a few hours, then goes bad again.
Then it might come good again for some time, and then bad.
Very unpredictable in its behavior, which made me think there is a bug
somewhere, and was hoping there was a workaround published.
And rebooting a production server is not really a great idea. :-)
Cheers
V
▸
On Tue, Jan 19, 2010 at 3:04 PM, Stef Coene <user-dbffe946c0f4@xymon.invalid> wrote:
On Tuesday 19 January 2010, Vernon Everett wrote:Hi all Another contract, another emial address. :-) Hope you all had a good festive season. Quick question. Was there ever a resolution to this issue? http://www.hswn.dk/hobbiton/2009/03/msg00036.html Searched the archive, and couldn't find one. To recap, this was where memory reports something bizzare, like thisMemory Used Total Percentage red Physical 4294961768M 8192M 4294967229% green Swap 1600M 8191M 19%Regards VernonI have the same problem on an aix server. This is the output of the vmstat command. As you can see, the avm column is 'attached' to the next column: System Configuration: lcpu=4 mem=6144MB kthr memory page faults cpu ----- ----------- ------------------------ ------------ ----------- r b avm fre re pi po fr sr cy in sy cs us sy id wa 2 1 4295454056 5793 0 0 0 61 80 0 60 30162 1606 9 8 80 3 Not much that I can do, except rebooting the box :( Stef
list Vernon Everett
Hi all
I am still trying to get to the bottom of this one, and I am determined to
fix it. For Solaris, at least. :-)
First off, for the developers out there - how is the Percentage and Used
figures determined?
The numbers I am getting do not appear in the client data anywhere.
Also, what figure does the server use for the Total?
Looking at my own issue, I have the following.
Memory Used Total Percentage
[image: red] Physical 4294963143M 8192M 4294967246%
[image: green] Swap 3506M 16383M 21%
I suspect the problem might be something to do with the reported free
memory, and the reported physical memory.
The output below comes from my client data.
[prtconf]
System Configuration: Sun Microsystems sun4v
Memory size: 8192 Megabytes
System Peripherals (Software Nodes):
[memory]
0 0 0 16804936 12641392 36 247 0 101 101 0 0 5 1 0 1 886 3158 688 0 0 99
[swap]
total: 3590152k bytes allocated + 0k reserved = 3590152k used,
13187064k available
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.
(This appears to only happen inside zones, where odd things abound with
regards memory and CPUs.)
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.
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.
Regards
Vernon
▸
On Tue, Jan 19, 2010 at 2:25 PM, Vernon Everett <user-b3f8dacb72c8@xymon.invalid>wrote:
Hi all Another contract, another emial address. :-) Hope you all had a good festive season. Quick question. Was there ever a resolution to this issue? http://www.hswn.dk/hobbiton/2009/03/msg00036.html Searched the archive, and couldn't find one. To recap, this was where memory reports something bizzare, like thisMemory Used Total Percentage red Physical 4294961768M 8192M 4294967229%green Swap 1600M 8191M 19%Regards Vernon
list Rolf Schrittenlocher
Hi to all, I've been searching in the archive and man pages but didn't find anything. Is there a built-in feature in xymon to check the permissions of a directory? I've found directory size and file permissions (using md5 ...), but directory permissions? Just curious, I know it is easy to make a custom script for that purpose, have a nice weekend, it's sunshine here! Rolf
list Henrik Størner
▸
In <user-471aec82f6f5@xymon.invalid> Rolf Schrittenlocher <user-ea9d95bffcf0@xymon.invalid> writes:
I've been searching in the archive and man pages but didn't find anything. Is there a built-in feature in xymon to check the permissions of a directory? I've found directory size and file permissions (using md5 ...), but directory permissions? Just curious, I know it is easy to make a custom script for that purpose,
Directory are also files. So this should check that /my/directory
on host "myhost" is rwxr-xr-x (mode 755):
In client-local.cfg
[myhost]
file:/my/directory
In hobbit-clients.cfg:
HOST=myhost
FILE /my/directory mode=755
Regards,
Henrik
list Rolf Schrittenlocher
Thank you, Henrik, and once more: Thank you for this great tool Xymon, kind regards rolf
▸
In<user-471aec82f6f5@xymon.invalid> Rolf Schrittenlocher<user-ea9d95bffcf0@xymon.invalid> writes:I've been searching in the archive and man pages but didn't find anything. Is there a built-in feature in xymon to check the permissions of a directory? I've found directory size and file permissions (using md5 ...), but directory permissions? Just curious, I know it is easy to make a custom script for that purpose,Directory are also files. So this should check that /my/directory on host "myhost" is rwxr-xr-x (mode 755): In client-local.cfg [myhost] file:/my/directory In hobbit-clients.cfg: HOST=myhost FILE /my/directory mode=755 Regards, Henrik
--
Mit freundlichen Gruessen
Rolf Schrittenlocher
HeBIS-IT, Senckenberganlage 31, 60054 Frankfurt
Tel: (XX) XX - XXX XXXXX Fax: (XX) XX XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-ea9d95bffcf0@xymon.invalid