Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-9685

Make constant ZBX_ES_MEMORY_LIMIT configurable through an environment variable

XMLWordPrintable

      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.

       

      [1] https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/libs/zbxembed/embed.c?at=refs%2Ftags%2F6.4.10#31

      [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

      [5] https://support.zabbix.com/browse/ZBX-23939

            wiper Andris Zeila
            sfernand Fernando Ferraz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: