-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Critical
-
None
-
Affects Version/s: 7.0.23
-
Component/s: Server (S)
-
None
-
Environment:* Zabbix Server 7.0.23 (from packages), RHEL 9, MySQL backend 8 cores, 24 GB RAM
* 12 proxies, ~2,000,000 items, ~8,600 NVPS
* CacheSize=12G (24% used per diaginfo)
-
Support backlog
Memory leak in configuration syncer process on Zabbix Server 7.0.23. Heap memory grows continuously, reaching 1.7 GB of private anonymous memory within days. Issue appeared after upgrade from 6.4 to 7.0.23. Not reproducible on 6.4 with the same configuration.
Configuration syncer process heap grows continuously. Server reaches 80-100% RAM utilization within 3-4 days, requiring restart to avoid service impact.
1. smaps_rollup comparison:
| Process | Pss_AnonĀ |
|---|---|
| configuration syncer | 1,710,526 kB |
| history syncer #1 | 33,590 kB |
| history syncer #11 | 30,322 kB |
2. Configuration syncer smaps - main heap region:
5630d15c8000-563136b84000 rw-p 00000000 00:00 0 [heap] Size: 1660656 kB Rss: 1659132 kB Referenced: 125180 kB Private_Dirty: 1659132 kB Anonymous: 1659132 kB
1660 MB allocated, only 125 MB referenced. The remaining ~1.5 GB has been allocated and abandoned.
3. Heap dump content analysis (1.66 GB dump via gdb):
Content is configuration data - tag values, host group names, trigger names/expressions, macro values.
1965828 "Application"
930618 "responsibility"
747552 "APP.LNX.SUPERVISION"
612773 "system team"
86985 "{$THR_LNX_FS_R003}% ({ITEM.LASTVALUE2} sur un total de {ITEM.LASTVALUE1})"
86985 "({ITEM.LASTVALUE2} sur un total de {ITEM.LASTVALUE1})"