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

Still high Memory utilization by preprocessing manager

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • 4.0.28
    • Server (S)

      Hi,
      I'm investigating a memory consumption problem we have with a kafka_exporter master item. Our symptoms are very related to the ones described in ZBX-17694.
      I seem to understand from the code that the value is copied from the master item to all dependant items. I suppose this is unavoidable ?

      But it also seems that the preprocessor process progresses in its memory usage by steps, allocating memory (going up to 5GB here), freeing memory (back to a few hundred megs) ; once in a while, the freeing is much less, and the "base" memory usage goes up.
      It makes me think of a memory leak under some circumstances. I've tried to investigate closely using Valgrind, but I couldn't as there wasn't enough RAM for Valgrind to run.

       

      I've attached the template, which is really simple, having one master item and one discovery rule. The difficulty comes from the size of the /metrics endpoint, which returns a 19MB document.

            Unassigned Unassigned
            colin_leroy Colin Leroy-Mira
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: