ZABBIX BUGS AND ISSUES

poller stick to 100% busy if there are a lot of dynamic index items

Details

Description

Poller stick to 100% busy after restarting Zabbix server if there are a lot of dynamic index items. According to attached screenshot, there are 10000 dynemic index items, poller stick to 100% busy for 20-25 minutes.

Poller does not have shared cache for dynamic index at this moment, so there is no way to avoid this problem for large environment.

Activity

Hide
dimir added a comment -

OK we decided to fix this for 1.8, 2.0 and trunk (2.2). Currently we plan to improve caching of dynamic indexes by implementing 2 things:

  • store all indexes of requested OID while doing snmpwalk
  • share the cache between all snmp pollers
Show
dimir added a comment - OK we decided to fix this for 1.8, 2.0 and trunk (2.2). Currently we plan to improve caching of dynamic indexes by implementing 2 things:
  • store all indexes of requested OID while doing snmpwalk
  • share the cache between all snmp pollers
Hide
Andris Mednis added a comment -

Problem reproduced with 1-2 poller processes and 1000 dynamic indexes. Pollers are 100% busy for 15-20 minutes after server start.

Show
Andris Mednis added a comment - Problem reproduced with 1-2 poller processes and 1000 dynamic indexes. Pollers are 100% busy for 15-20 minutes after server start.
Hide
Andris Mednis added a comment -

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5973

Searching for one SNMP dynamic index inserts all other indexes from the same OID table into the cache in the same pass. The cache builds up much faster, number of SNMP queries is reduced.
The assumption is that most of cache entries will be used and unnecessary elements in the cache is not a problem.

Show
Andris Mednis added a comment - Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5973 Searching for one SNMP dynamic index inserts all other indexes from the same OID table into the cache in the same pass. The cache builds up much faster, number of SNMP queries is reduced. The assumption is that most of cache entries will be used and unnecessary elements in the cache is not a problem.
Hide
dimir added a comment - - edited

Successfully tested! The performance improved dramatically. See my small change in r32682.
Andris Mednis Thanks, reviewed. Agree.

Show
dimir added a comment - - edited Successfully tested! The performance improved dramatically. See my small change in r32682. Andris Mednis Thanks, reviewed. Agree.
Hide
Andris Mednis added a comment -

Fixed in versions pre-1.8.17 r32832, pre-2.0.5 r32863.

Show
Andris Mednis added a comment - Fixed in versions pre-1.8.17 r32832, pre-2.0.5 r32863.
Hide
Andris Mednis added a comment -

For trunk fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5973-trunk

Show
Andris Mednis added a comment - For trunk fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5973-trunk
Hide
Andris Mednis added a comment -

Fixed in version pre-1.8.17 r33135.

Show
Andris Mednis added a comment - Fixed in version pre-1.8.17 r33135.
Hide
Andris Mednis added a comment -

Fixed in version pre-2.0.5 r33192.

Show
Andris Mednis added a comment - Fixed in version pre-2.0.5 r33192.
Hide
Andris Mednis added a comment - - edited

For trunk fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5973-trunk, r33235.

Alexander Vladishev Successfully tested! Please review my changes in r33240:33245.
Andris Mednis Reviewed. Agree.

Show
Andris Mednis added a comment - - edited For trunk fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5973-trunk, r33235. Alexander Vladishev Successfully tested! Please review my changes in r33240:33245. Andris Mednis Reviewed. Agree.
Hide
Andris Mednis added a comment -

Fixed in version pre-2.1.0 rev.33254.

Show
Andris Mednis added a comment - Fixed in version pre-2.1.0 rev.33254.

People

Vote (2)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: