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

High memory utilization for history syncer and configuration syncer

    XMLWordPrintable

Details

    • Problem report
    • Status: Confirmed
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • Server (S)
    • None

    Description

      Zabbix version 5.2.7

      USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
       zabbix 3255150 1.2 4.8 11807244 4722520 ? S Jul27 1290:09 /usr/sbin/zabbix_server: configuration syncer [synced configuration in 183.856477 sec, idle 3600 sec]
       zabbix 3256691 3.3 2.2 9666396 2201536 ? S Jul27 3514:07 /usr/sbin/zabbix_server: history syncer #1 [processed 1033 values, 1671 triggers in 0.387868 sec, idle 1 sec]
       zabbix 3256692 3.3 2.2 9665840 2202108 ? S Jul27 3532:31 /usr/sbin/zabbix_server: history syncer #2 [processed 0 values, 0 triggers in 0.122101 sec, idle 1 sec]
       zabbix 3256693 3.2 2.2 9651748 2187052 ? S Jul27 3445:46 /usr/sbin/zabbix_server: history syncer #3 [processed 290 values, 513 triggers in 0.639744 sec, idle 1 sec]
       zabbix 3256694 3.3 2.2 9648544 2184676 ? S Jul27 3531:44 /usr/sbin/zabbix_server: history syncer #4 [processed 0 values, 0 triggers in 0.069552 sec, idle 1 sec]
       zabbix 3256695 3.3 2.2 9650284 2186568 ? R Jul27 3494:35 /usr/sbin/zabbix_server: history syncer #5 [processed 660 values, 968 triggers in 0.646185 sec, syncing history]
       zabbix 3256696 3.3 2.2 9650736 2186472 ? R Jul27 3530:44 /usr/sbin/zabbix_server: history syncer #6 [processed 287 values, 340 triggers in 0.120756 sec, syncing history]
       zabbix 3256697 3.3 2.2 9650856 2186124 ? S Jul27 3525:46 /usr/sbin/zabbix_server: history syncer #7 [processed 224 values, 230 triggers in 0.357123 sec, idle 1 sec]
       zabbix 3256698 3.4 2.2 9677496 2211376 ? S Jul27 3593:18 /usr/sbin/zabbix_server: history syncer #8 [processed 0 values, 0 triggers in 0.105499 sec, idle 1 sec]
       zabbix 3256699 3.3 2.2 9674856 2211020 ? R Jul27 3502:49 /usr/sbin/zabbix_server: history syncer #9 [processed 2616 values, 3071 triggers in 2.097472 sec, syncing history]
       zabbix 3256700 3.2 2.2 9630264 2159940 ? S Jul27 3453:53 /usr/sbin/zabbix_server: history syncer #10 [processed 0 values, 0 triggers in 0.103690 sec, idle 1 sec]
       zabbix 3256701 3.3 2.2 9650272 2186496 ? S Jul27 3527:42 /usr/sbin/zabbix_server: history syncer #11 [processed 0 values, 0 triggers in 0.011031 sec, idle 1 sec]
       zabbix 3256702 3.3 2.2 9654364 2184008 ? R Jul27 3515:07 /usr/sbin/zabbix_server: history syncer #12 [processed 239 values, 410 triggers in 0.293157 sec, syncing history]

       

      PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
       3255150 zabbix 20 0 11.3g 4.5g 2.4g R 91.3 4.9 1338:05 zabbix_server [synced configuration in 183.856477 sec, idle 3600 sec]
       3256699 zabbix 20 0 9678676 2.1g 2.0g S 0.0 2.3 3647:04 zabbix_server history syncer #1 [processed 1033 values, 1671 triggers in 0.387868 sec, idle 1 sec]
       3256698 zabbix 20 0 9677496 2.1g 2.0g S 0.0 2.3 3740:23 zabbix_server history syncer #2 [processed 0 values, 0 triggers in 0.122101 sec, idle 1 sec]
       3256691 zabbix 20 0 9667104 2.1g 2.0g S 0.0 2.3 3657:49 zabbix_server history syncer #3 [processed 290 values, 513 triggers in 0.639744 sec, idle 1 sec]
       3256692 zabbix 20 0 9665840 2.1g 2.0g S 0.0 2.3 3676:08 zabbix_server history syncer #4 [processed 0 values, 0 triggers in 0.069552 sec, idle 1 sec]
       3256702 zabbix 20 0 9659772 2.1g 2.0g S 0.0 2.3 3658:13 zabbix_server history syncer #5 [processed 660 values, 968 triggers in 0.646185 sec, syncing history]
       3256693 zabbix 20 0 9651476 2.1g 2.0g S 0.0 2.3 3584:23 zabbix_server history syncer #6 [processed 287 values, 340 triggers in 0.120756 sec, syncing history]
       3256700 zabbix 20 0 9648988 2.1g 2.0g S 0.0 2.3 3595:54 zabbix_server history syncer #7 [processed 224 values, 230 triggers in 0.357123 sec, idle 1 sec]
       3256697 zabbix 20 0 9650348 2.1g 2.0g S 0.0 2.3 3672:51 zabbix_server history syncer #8 [processed 0 values, 0 triggers in 0.105499 sec, idle 1 sec]
       3256694 zabbix 20 0 9647368 2.1g 2.0g S 0.0 2.3 3683:09 zabbix_server history syncer #9 [processed 2616 values, 3071 triggers in 2.097472 sec, syncing history]
       3256696 zabbix 20 0 9648028 2.1g 2.0g S 0.0 2.3 3672:17 zabbix_server history syncer #10 [processed 0 values, 0 triggers in 0.103690 sec, idle 1 sec]
       3256701 zabbix 20 0 9649868 2.1g 2.0g S 0.0 2.3 3676:06 zabbix_server history syncer #11 [processed 0 values, 0 triggers in 0.011031 sec, idle 1 sec]
       3256695 zabbix 20 0 9647836 2.1g 2.0g S 0.0 2.3 3642:54 zabbix_server history syncer #12 [processed 239 values, 410 triggers in 0.293157 sec, syncing history]
      [[email protected] zabbix]# cat /proc/3255136/status
       Name: zabbix_server
       Umask: 0002
       State: S (sleeping)
       Tgid: 3255136
       Ngid: 0
       Pid: 3255136
       PPid: 1
       TracerPid: 0
       Uid: 975 975 975 975
       Gid: 973 973 973 973
       FDSize: 64
       Groups: 973
       NStgid: 3255136
       NSpid: 3255136
       NSpgid: 3255135
       NSsid: 3255135
       VmPeak: 9582476 kB
       VmSize: 9582476 kB
       VmLck: 0 kB
       VmPin: 0 kB
       VmHWM: 7756 kB
       VmRSS: 7404 kB
       RssAnon: 2088 kB
       RssFile: 4924 kB
       RssShmem: 392 kB
       VmData: 1716 kB
       VmStk: 132 kB
       VmExe: 3536 kB
       VmLib: 19576 kB
       VmPTE: 296 kB
       VmSwap: 32 kB
       HugetlbPages: 0 kB
       CoreDumping: 0
       Threads: 1
       SigQ: 0/377057
       SigPnd: 0000000000000000
       ShdPnd: 0000000000000000
       SigBlk: 0000000000000000
       SigIgn: 0000000000001000
       SigCgt: 0000000180016ecf
       CapInh: 0000000000000000
       CapPrm: 0000000000000000
       CapEff: 0000000000000000
       CapBnd: 0000003fffffffff
       CapAmb: 0000000000000000
       NoNewPrivs: 0
       Seccomp: 0
       Speculation_Store_Bypass: thread vulnerable
       Cpus_allowed: 3ffffff
       Cpus_allowed_list: 0-25
       Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003
       Mems_allowed_list: 0-1
       voluntary_ctxt_switches: 1861
       nonvoluntary_ctxt_switches: 56
      [[email protected] zabbix]# cat /proc/3255150/status
       Name: zabbix_server
       Umask: 0002
       State: S (sleeping)
       Tgid: 3255150
       Ngid: 3255150
       Pid: 3255150
       PPid: 3255136
       TracerPid: 0
       Uid: 975 975 975 975
       Gid: 973 973 973 973
       FDSize: 64
       Groups: 973
       NStgid: 3255150
       NSpid: 3255150
       NSpgid: 3255135
       NSsid: 3255135
       VmPeak: 13337844 kB
       VmSize: 11805132 kB
       VmLck: 0 kB
       VmPin: 0 kB
       VmHWM: 6250268 kB
       VmRSS: 4713304 kB
       RssAnon: 2224676 kB
       RssFile: 2816 kB
       RssShmem: 2485812 kB
       VmData: 2224372 kB
       VmStk: 132 kB
       VmExe: 3536 kB
       VmLib: 19576 kB
       VmPTE: 9736 kB
       VmSwap: 8 kB
       HugetlbPages: 0 kB
       CoreDumping: 0
       Threads: 1
       SigQ: 0/377057
       SigPnd: 0000000000000000
       ShdPnd: 0000000000000000
       SigBlk: 0000000000000000
       SigIgn: 0000000000001000
       SigCgt: 0000000180006ecf
       CapInh: 0000000000000000
       CapPrm: 0000000000000000
       CapEff: 0000000000000000
       CapBnd: 0000003fffffffff
       CapAmb: 0000000000000000
       NoNewPrivs: 0
       Seccomp: 0
       Speculation_Store_Bypass: thread vulnerable
       Cpus_allowed: 3ffffff
       Cpus_allowed_list: 0-25
       Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003
       Mems_allowed_list: 0-1
       voluntary_ctxt_switches: 105523408
       nonvoluntary_ctxt_switches: 213031
      [[email protected] zabbix]# free -h
       total used free shared buff/cache available
       Mem: 92Gi 80Gi 943Mi 6.1Gi 10Gi 4.5Gi
       Swap: 14Gi 4.8Gi 10Gi

       

      [[email protected] zabbix]# cat /proc/meminfo
       MemTotal: 96661732 kB
       MemFree: 990128 kB
       MemAvailable: 4707048 kB
       Buffers: 5340 kB
       Cached: 10370032 kB
       SwapCached: 1196060 kB
       Active: 78804900 kB
       Inactive: 11591020 kB
       Active(anon): 78506880 kB
       Inactive(anon): 7890576 kB
       Active(file): 298020 kB
       Inactive(file): 3700444 kB
       Unevictable: 0 kB
       Mlocked: 0 kB
       SwapTotal: 15728636 kB
       SwapFree: 10675328 kB
       Dirty: 504 kB
       Writeback: 0 kB
       AnonPages: 78900276 kB
       Mapped: 2916552 kB
       Shmem: 6378328 kB
       KReclaimable: 567676 kB
       Slab: 1203512 kB
       SReclaimable: 567676 kB
       SUnreclaim: 635836 kB
       KernelStack: 25120 kB
       PageTables: 3675240 kB
       NFS_Unstable: 0 kB
       Bounce: 0 kB
       WritebackTmp: 0 kB
       CommitLimit: 64059500 kB
       Committed_AS: 101235300 kB
       VmallocTotal: 34359738367 kB
       VmallocUsed: 0 kB
       VmallocChunk: 0 kB
       Percpu: 48896 kB
       HardwareCorrupted: 0 kB
       AnonHugePages: 52006912 kB
       ShmemHugePages: 0 kB
       ShmemPmdMapped: 0 kB
       HugePages_Total: 0
       HugePages_Free: 0
       HugePages_Rsvd: 0
       HugePages_Surp: 0
       Hugepagesize: 2048 kB
       Hugetlb: 0 kB
       DirectMap4k: 4840812 kB
       DirectMap2M: 89530368 kB
       DirectMap1G: 6291456 kB

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            avolodin Aleksey Volodin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: