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

Details

    • Team C
    • 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)
    • 2

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              arimdjonoks Artjoms Rimdjonoks
              neogan Andrei Gushchin
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: