Ad Widget

Collapse

Zabbix queue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • misch
    Junior Member
    • Jan 2010
    • 28

    #1

    Zabbix queue

    Hi,

    as my zabbix installation is growing big over time I see more and more items queuing up. On the average I have 15 items in my queue running between 5 sec and 10 sec and 10 items queuing between 10 and 30 secs. From time to time Zabbix catches up with all and shows a empty queue, but anyway I somehow feel uneasy about Zabbix queing checks too long.

    What are the main parameters where I can influence the performance of zabbix? I think I maxed out my database already.

    Greetings,

    Michael.
  • Sparky
    Member
    • Jun 2010
    • 54

    #2
    What are the item types that are in the queue?

    Comment

    • misch
      Junior Member
      • Jan 2010
      • 28

      #3
      Mainly SNMP because. Running snmpget from the command line I get the answer fast, in less than 1 sec.

      But I also have queued Zabbix items and simple checks.

      Comment

      • Sparky
        Member
        • Jun 2010
        • 54

        #4
        Originally posted by misch
        Mainly SNMP because. Running snmpget from the command line I get the answer fast, in less than 1 sec.

        But I also have queued Zabbix items and simple checks.
        Something that worked for me was to increase the values of pollers etc in the zabbix_server.conf file. Now I almost never have anything over 5 seconds waiting.

        Comment

        • misch
          Junior Member
          • Jan 2010
          • 28

          #5
          I have:

          StartPollers=32
          CacheSize=128M
          StartDBSyncers=16
          HistoryCacheSize=128M
          TrendCacheSize=128M

          Comment

          • misch
            Junior Member
            • Jan 2010
            • 28

            #6
            OK. As soon as I get more then 24 new value per second the queue is buildung up and cannot be dequeued any more by zabbix.

            Any further performance hints?

            Thanks.

            Comment

            • angelhc
              Senior Member
              Zabbix Certified Specialist
              • Nov 2009
              • 226

              #7
              On the conf file:
              ### Option: StartPollers
              # Number of pre-forked instances of pollers.
              # You shouldn't run more than 30 pollers normally.

              Who knows why we shouldn't run more than 30 pollers??
              Thanks!
              Number of hosts 1600,Number of items +90k,Number of triggers +22k, Number of users +100, New values per second +1270

              http://zabbixes.wordpress.com/

              Comment

              • misch
                Junior Member
                • Jan 2010
                • 28

                #8
                Set the StartPollers to 8 and the queue ist building up even worse. Any idea?

                Comment

                • richlv
                  Senior Member
                  Zabbix Certified Trainer
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Oct 2005
                  • 3112

                  #9
                  was the duplicate thread created at http://www.zabbix.com/forum/showthread.php?t=21191 ?

                  what's the iowait on the system ?
                  any error or warning messages in the zabbix server logfile ?
                  Zabbix 3.0 Network Monitoring book

                  Comment

                  • misch
                    Junior Member
                    • Jan 2010
                    • 28

                    #10
                    Solved: Excessive queing

                    Problem solved!

                    One host with a large amount of items was configured wrong. So all SNMP requests ran into a timeout and did not return "OID not available". This build up quite a huge queue and a lot of other checks did timeout also.

                    Greetings,

                    Comment

                    Working...