Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-25752

Redundant cross thread malloc and free for preprocessing history

XMLWordPrintable

    • Support backlog

      Each preprocessing worker rewrites history upon completion, this results in behaviour when one worker allocates history and then the other frees history and allocates new.

      Expected:
      For best performance threads should avoid freeing memory allocated by other threads, especially because it is redundant to always rewrite history, since in many cases with javascript and throttling it might not change for long time.

      Steps:
      Send 1000 values each 1 MB and javascript that sleeps 50 milliseconds, notice that memory is not released back to system with glibc, add macro to javascript and notice that since there is no more history then memory is released.

            zabbix.dev Zabbix Development Team
            vso Vladislavs Sokurenko
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: