-
New Feature Request
-
Resolution: Unresolved
-
Minor
-
None
-
6.4.20, 7.2.0
ZBX_ES_MEMORY_LIMIT [1] sets the maximum amount of memory a JS `scriptitem` can request. Although this limit has been increased several times [2][3], the current limit isn't still enough for js scripts that consume large datasets, as there might not be enough memory for storing information for further processing.
As an example, Zabbix Kubernetes monitoring scripts [4] hit this limit when gathering pod information from large Kubernetes clusters, as described in the BUG report [5].
Making ZBX_ES_MEMORY_LIMIT a configurable setting allows users to tweak the memory limit for js scriptitems based on their environment requirements.
[2] https://support.zabbix.com/browse/ZBXNEXT-6386
[3] https://support.zabbix.com/browse/ZBX-22805
[4]https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/app/kubernetes_http/kubernetes_nodes_http/template_kubernetes_nodes.yaml?at=refs%2Fheads%2Frelease%2F6.4#311