Ad Widget

Collapse

Extreme memory usage of Zabbix Poller processes (Proxy)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lolstrup
    Junior Member
    • Jul 2021
    • 11

    #1

    Extreme memory usage of Zabbix Poller processes (Proxy)

    I'm having a memory issue with one of our Zabbix proxies.
    We have 8 proxies which we try to max out at around 1000-1300 NVPS.

    One proxy, zabbix04, responsible for about half of our Active Agents, uses all the memory it can get. Way more than our other proxies, while also processing way less NVPS.
    It also tends to have a queue of 3000-5000 while the others are steadily sitting in the low hundreds.
    It has similar configuration to another Active Agent proxy (zabbix03), which barely uses any memory.

    Sample numbers:

    NVPS (30min avg):


    RAM usage (all proxies have 12GB RAM):

    zabbix03 = green, zabbix04 = orange/yellow (colorblind..), zabbix05 = red​

    All proxies run in Docker.
    Environment files look like this:
    Code:
    ZBX_CONFIGFREQUENCY=300​
    ZBX_CACHESIZE=1G
    ZBX_HISTORYCACHESIZE=384M
    ZBX_HISTORYINDEXCACHESIZE=96M
    
    ZBX_STARTPOLLERS=150
    ZBX_STARTPOLLERSUNREACHABLE=30
    ZBX_STARTPINGERS=20​
    ZBX_STARTVMWARECOLLECTORS=5
    ZBX_VMWAREFREQUENCY=120
    ZBX_VMWAREPERFFREQUENCY=120
    ZBX_VMWARECACHESIZE=32M
    ZBX_VMWARETIMEOUT=10
    
    ZBX_ENABLE_SNMP_TRAPS=true
    The mysqld processes on zabbix03 uses about 670MB memory, and the Zabbix poller processes about 43K.
    Comparatively, on zabbix04 mysqld uses 565M but poller processes about 105M, a massive increase.
    I don't really see anything out of the ordinary in the container logs.

    Not really sure where to look to solve these issues.
    Any help would be greatly appreciated
  • stratos
    Junior Member
    • Jul 2013
    • 10

    #2
    I have the same issue. I have 4 proxies and all have started to misbehave after upgrading from version 6.4 to 7. No settings change. Memory usage on version 6.4 was extremely lower... with vesrion 7 all my proxies are maxing out and even restarting them fails. I have to kill the processes and start them.

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1781

      #3
      Originally posted by stratos
      I have the same issue. I have 4 proxies and all have started to misbehave after upgrading from version 6.4 to 7. No settings change. Memory usage on version 6.4 was extremely lower... with vesrion 7 all my proxies are maxing out and even restarting them fails. I have to kill the processes and start them.
      Maybe this?



      Fixed in soon-to-be-released 7.0.1.

      Markku

      Comment

      • stratos
        Junior Member
        • Jul 2013
        • 10

        #4
        Originally posted by Markku

        Maybe this?



        Fixed in soon-to-be-released 7.0.1.

        Markku
        Seems that's my issue yes. I hope the update is going to be released soon.

        Comment

        Working...