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

Performance of zabbix agent while scanning dir much worse than standard dir on Windows

XMLWordPrintable

    • Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021), Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022)
    • 2

      Steps to reproduce:
      There is some folder with 65K empty files.
      You want to count them.

      Result:

      .\zabbix_get.exe -s 127.0.0.1 -k 'vfs.dir.count[C:\DATA\tmp,.txt,,file]'
      ZBX_NOTSUPPORTED: Timeout while waiting for data.
      

      Always reached timeout event 30 sec., while dir /s /w return all file list and their count and size with 19-20 sec. or less

      C:\DATA\tmp> dir /s /w
      .....
      test9984.txt         test9985.txt         test9986.txt         test9987.txt         test9988.txt         test9989.txt         test999.txt
      test9990.txt         test9991.txt         test9992.txt         test9993.txt         test9994.txt         test9995.txt         test9996.txt
      test9997.txt         test9998.txt         test9999.txt         test[1..60000].txt
                 68064 File(s)              0 bytes
      
           Total Files Listed:
                 68064 File(s)              0 bytes
                     2 Dir(s)  31 752 388 608 bytes free
      

      Expected:
      Similar to native dir command perfomance.

        1. image-2022-07-08-15-10-36-114.png
          image-2022-07-08-15-10-36-114.png
          36 kB
        2. screenshot-1.png
          screenshot-1.png
          97 kB
        3. screenshot-2.png
          screenshot-2.png
          37 kB
        4. ZBX-18573.patch
          0.7 kB

            dgoloscapov Dmitrijs Goloscapovs
            neogan Andrei Gushchin (Inactive)
            Team A
            Votes:
            3 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: