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

Use buffered read instead of reading line by line with vfs.file.regmatch and vfs.file.regexp

XMLWordPrintable

    • Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023), Sprint 107 (Dec 2023), S2401
    • 1

      Please see ZBX-22798, it is better to read 64 KB worth of data, then find lines ending with new line in it and process those, then try reading more from last new line.

      Currently 64KB is retrieved but position is set to next new line each time which is inefficient and can cause problems if file is updated during this time.

            askolmeisters Armands Arseniuss Skolmeisters
            vso Vladislavs Sokurenko
            Team C
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: