[ZBX-9731] Unused items can cause value cache to switch to low memory mode Created: 2015 Jul 27 Updated: 2024 Apr 10 Resolved: 2018 Aug 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 2.2.9, 2.4.5, 2.5.0 |
Fix Version/s: | 4.0.0beta1, 4.0 (plan) |
Type: | Problem report | Priority: | Minor |
Reporter: | Andris Zeila | Assignee: | Andris Zeila |
Resolution: | Fixed | Votes: | 0 |
Labels: | valuecache | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | total.png |
Team: | Team A |
Sprint: | Sprint 40 |
Story Points: | 1 |
Description |
When an item is not accessed for a day or more value cache will continue to collect its history data and will remove it from cache only when it rans out of free space. However if the space is needed to store more data for such item, then this item is not removed from cache. In theory this might cause value cache to switch to low memory mode even if there are some space that might be freed without problems. This could be easily fixed by removing the item instead of adding new values if it has not been accessed during last 24 hours. This would also make unused item cleanup redundant in vc_release_space() function. |
Comments |
Comment by Andris Zeila [ 2018 Aug 08 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-9731-40 The development branch is based on trunk to have value cache test suites. |
Comment by Andris Zeila [ 2018 Aug 09 ] |
Released in:
|