Ad Widget

Collapse

Zabbix configuration cache growing rapidly - CacheSize

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • i.leitedasilva
    Junior Member
    • Jul 2024
    • 7

    #1

    Zabbix configuration cache growing rapidly - CacheSize

    Hi, I have a problem with the Configuration Cache. How do I clear it? I'm increasing the CacheSize value every week. If it reaches above 90%, the Zabbix Server Container shuts down. Previously, this value did not increase, but now it is increasing.
    Attached Files
  • Answer selected by i.leitedasilva at 06-08-2024, 17:54.
    Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    So you have 13 hosts but over 74000 items, there is your config problem.

    Delete items that are not needed, and check your discovery rules if they are creating unnecessary items.

    Markku

    Comment


    • i.leitedasilva
      i.leitedasilva commented
      Editing a comment
      Thank you very much, your observation helped me solve everything!!!
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Have you added a lot of new monitoring ? devices, items, triggers? This is the data that is stored in config cache...
    How big Config Cache you have now?

    Comment

    • i.leitedasilva
      Junior Member
      • Jul 2024
      • 7

      #3
      I didn't add any devices, items or triggers, it just started to increase and now every time it reaches 100% the Zabbix Server container turns off, so I have to increase the cachesize for it to turn on again, but in a week it increases again. I have only 12 Hosts being monitored by this Zabbix

      ZBX_JAVAGATEWAY_ENABLE=true
      ZBX_STARTJAVAPOLLERS=5
      ZBX_ENABLE_SNMP_TRAPS=true
      ZBX_CACHESIZE=128M
      ZBX_CACHEUPDATEFREQUENCY=60
      ZBX_HISTORYCACHESIZE=32M
      ZBX_TRENDCACHESIZE=16M
      ZBX_VALUECACHESIZE=32M

      Comment

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

        #4
        What is your Zabbix version?

        In the System information screen, how many items and triggers do you have?

        Markku

        Comment

        • i.leitedasilva
          Junior Member
          • Jul 2024
          • 7

          #5
          Markku Here is the information
          Click image for larger version

Name:	image.png
Views:	1954
Size:	49.4 KB
ID:	489022

          Comment

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

            #6
            So you have 13 hosts but over 74000 items, there is your config problem.

            Delete items that are not needed, and check your discovery rules if they are creating unnecessary items.

            Markku

            Comment


            • i.leitedasilva
              i.leitedasilva commented
              Editing a comment
              Thank you very much, your observation helped me solve everything!!!
          Working...