[ZBXNEXT-2474] Improve value cache low memory mode handling Created: 2014 Sep 22 Updated: 2015 Apr 23 Resolved: 2014 Sep 23 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Server (S) |
Affects Version/s: | None |
Fix Version/s: | 2.5.0 |
Type: | Change Request | Priority: | Minor |
Reporter: | Andris Zeila | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | performance, valuecache | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Add a new internal item zabbix[vcache,cache,mode] must be added. It will return 0 if value cache is working in normal mode and 1 if it is working in low memory mode. This item and a trigger based on it must be added to default Zabbix server template. After 24 hours working in low memory mode the value cache must switch back to normal mode. |
Comments |
Comment by Aleksandrs Saveljevs [ 2014 Sep 22 ] |
Could you please elaborate on how this can be accomplished? |
Comment by Andris Zeila [ 2014 Sep 22 ] |
Before checking if a warning message should be logged (vc_warn_low_memory() function) value cache will check if 24 hours have passed since switching to low memory mode. If so it will simply flip back the low memory mode flag. If the situation has been improved (some items/triggers removed) then it will stay in normal operation mode. If not - it will run out of memory again and switch back to low memory mode. |
Comment by Andris Zeila [ 2014 Sep 23 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-2474 |
Comment by Andris Zeila [ 2014 Dec 12 ] |
Recreated development branch basing on trunk |
Comment by dimir [ 2015 Apr 16 ] |
Successfully tested, please review my changes in r53201. wiper Thanks, reviewed |
Comment by Andris Zeila [ 2015 Apr 20 ] |
I merged trunk, had to recreate value cache operating mode related item/trigger/value mapping. Please review it. |
Comment by dimir [ 2015 Apr 20 ] |
(1) [I] I noticed at least item zabbix[queue] disappeared from Template App Zabbix Server (and, as result, from Zabbix server itself) after a merge. wiper RESOLVED in r53236 <dimir> CLOSED |
Comment by Andris Zeila [ 2015 Apr 21 ] |
Released in:
|
Comment by Andris Zeila [ 2015 Apr 21 ] |
(2) Documentation: <dimir> CLOSED |