Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-2858

Auto increase thread number (Server pollers, Agent checkes)

    XMLWordPrintable

Details

    Description

      Zabbix have problem with threads number
      It's needed in manualy adjust thread number on server/proxyes for handle all requests, and zabbix agent, probably, use only one threads for active checks (i don't understand it, why we can't fork new thread for every check?)

      What i mean:
      Zabbix server/proxy can adjust threads number, by threads % busy number.
      Example:
      threshol = 75.0;
      if (zabbix_poller.pbusy > threshold)

      { zabbix_poller.add_thread; }

      As i think, this can solve problem with not enough threads for handling requests, and this logic can be applicable for all pollers.

      On zabbix-agent, also, as i think and as i understand:
      zabbix agent can just fork every active check in another threads.
      I've a many, many active checks and in some cases, zabbix can't get in time data from it, and queue infinitely grow, its not a cool. As a workaroud i use zabbix passive checks for slow checks, because as i understand, zabbix agent prefork several threads, for handling passive checks.

      Fix me, if i'm wrong in something.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nefelim4ag Timofey
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: