[ZBXNEXT-2960] reduce the default MaxLinesPerSecond value Created: 2015 Sep 16  Updated: 2015 Oct 17  Resolved: 2015 Oct 17

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent (G)
Affects Version/s: 3.0.0alpha2
Fix Version/s: 3.0.0alpha4

Type: Change Request Priority: Trivial
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: logmonitoring, performance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

zabbix has some performance issues when a single item sends in a lot of values. in many cases that happens with log monitoring items. while a proper solution would be to handle such cases better, as a temporary mitigation attempt, the default value of MaxLinesPerSecond could be reduced (currently it's 100 values/lines per second)



 Comments   
Comment by richlv [ 2015 Sep 16 ]

reduced to 20 in svn://svn.zabbix.com/branches/dev/ZBXNEXT-2960

Comment by richlv [ 2015 Sep 16 ]

the default value has been reduced to 20. it was chosen as a reasonable value server could process from a few agents, although many agents spamming it with log entries at that rate would still be a problem. it is hoped that it will at least slightly reduce the cases when whole zabbix server becomes clogged up.

Comment by Alexander Vladishev [ 2015 Sep 16 ]

Related issue: ZBX-9201

Comment by Marc [ 2015 Sep 16 ]

Distantly related: ZBXNEXT-2430

Comment by Aleksandrs Saveljevs [ 2015 Sep 17 ]

Looks good, but please see r55628 - it fixes the default value in Windows agent configuration file, too.

<richlv> ouch, sorry for missing the windows file - and thanks for updating the copy in testing, too

Comment by richlv [ 2015 Oct 16 ]

available in pre-3.0.0alpha4 (trunk r56222)

Comment by richlv [ 2015 Oct 16 ]

(1) mentioned in https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew300#default_configuration_file_improvements

asaveljevs For numeric parameters, it might be a good idea to use "increased" or "decreased" instead of "changed", so that there is a hint at the logic behind the change, but it is OK as is. CLOSED.

<richlv> missed a few places... now also documented in :

agreed on increased/decreased - changed that and also listed original value. did the same also for MaxHousekeeperDelete and Timeout parameters (LogSlowQueries was changed from 0 - should we list that, too ?)

asaveljevs Description should also be changed at https://www.zabbix.com/documentation/3.0/manual/config/items/itemtypes/log_items . Agreed on LogSlowQueries. While at it, fix a typo in "increase" for Timeout: should be "increased".

<richlv> thanks, applied all suggested changes and listed the old value for LogSlowQueries, too
RESOLVED

asaveljevs One little step remains: in "by default the agent will analyse no more than 400 log file records and will send no more than 20 matching records", it should be 80 instead of 400. REOPENED.

<richlv> ooh, sorry for missing that one... should be fixed now, RESOLVED

asaveljevs Wonderful! CLOSED.

Generated at Fri Apr 19 05:09:59 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.