Ad Widget

Collapse

zabbix 1.8.18: ERROR [file:db.c,line:1582] Something impossible has just happened.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #1

    zabbix 1.8.18: ERROR [file:db.c,line:1582] Something impossible has just happened.

    I'm trying to solve problem with queue of delayed items data.

    After few hours after start zabbix I'm able to observe that telnet on server port does not oppens instantly TCP session. After this all active checks have longer and longer delay. Sometimes it recovers but sometimes not and so far only restart of server helps.

    Looking on netstat output on zabbix server I see:

    # netstat -an | grep <IP.of.zbx.srv>:10051| awk '{ print $6}' |sort| uniq -c
    38 CLOSE_WAIT
    99 ESTABLISHED
    26 SYN_RECV
    1 SYN_SENT
    396 TIME_WAIT

    so numbers are not big.

    Because it was not possible to open new connection to zabbix srv I've increased StartTrappers to 40. After this after few minutes I had tons of error messages in server log like:

    31964:20131013:143013.211 [Z3005] query failed: [1205] Lock wait timeout exceeded; try restarting transaction [update ids set nextid=nextid+1 where nodeid=0 and table_name='events' and field_name='eventid']
    zabbix_server [31964]: ERROR [file:db.c,line:1582] Something impossible has just happened.

    With StartTrappers=40 zabbix server is almost instantly unuseable.

    I have about 600 monitored boxes and only 150 are behind the proxies (temporary I cannot move more).

    Q1: What I'm doing wrong on tuning zabbix server?
    Q2: Why this error happens on increase StartTrappers?

    Any advices are welcome.
    Last edited by kloczek; 13-10-2013, 16:41.
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates
Working...