[ZBX-8607] vm.memory.size[pavailable] on Windows doesn't work as expected Created: 2014 Aug 12  Updated: 2019 Dec 10

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 2.2.5
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Dmitry Samsonov Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: memory, windows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows Server 2003 x64


Issue Links:
Duplicate

 Description   

From the documentation:
"pavailable - inactive + cached + free memory in relation to 'total'."

Actual values:
C:\zabbix\tmp>zabbix_agentd.exe -t vm.memory.size[available]
vm.memory.size[available] [u|293146624]

C:\zabbix\tmp>zabbix_agentd.exe -t vm.memory.size[pavailable]
vm.memory.size[pavailable] [d|6.755881]

C:\zabbix\tmp>zabbix_agentd.exe -t vm.memory.size[cached]
vm.memory.size[cached] [u|3863650304]

C:\zabbix\tmp>zabbix_agentd.exe -t vm.memory.size[inactive]
vm.memory.size[inactive] [m|ZBX_NOTSUPPORTED]

C:\zabbix\tmp>zabbix_agentd.exe -t vm.memory.size[free]
vm.memory.size[free] [u|285749248]

C:\zabbix\tmp>zabbix_agentd.exe -t vm.memory.size[total]
vm.memory.size[total] [u|4292448256]

C:\zabbix\tmp>zabbix_agentd.exe -V
Zabbix Agent Win64 (service) v2.2.5 (revision 47406) (17 July 2014)
Compilation time: Jul 17 2014 16:15:35

(0+3863650304+285749248)/4292448256*100=96.67, but pavailable report "6.755881".



 Comments   
Comment by Oleksii Zagorskyi [ 2014 Aug 13 ]

As for doc statement "pavailable - inactive + cached + free memory in relation to 'total'." - it's first of all related to *nix.

Comment by Dmitry Samsonov [ 2014 Aug 13 ]

Oleksiy, yes, I also suppose so, but can't find it in documentation.
And can't also find how to use vm.memory.size in windows.
Can you explain which counters I should use to monitor available memory in windows?

Thanks in advance.

Comment by Dmitry Samsonov [ 2014 Aug 17 ]

According to various windows documentations cached is not part of available.
So the numbers are probably ok.

However, it would be nice to have some words about vm.memory.size in windows here https://www.zabbix.com/documentation/2.2/manual/appendix/items/vm.memory.size_params .

Thank you.

Comment by Oleg Ivanivskyi [ 2016 Jun 28 ]

This issue is still active for Linux. Zabbix agents 2.2 and 2.4 cannot get inactive memory from 3.10 Linux kernel.

Generated at Thu Apr 25 23:30:52 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.