When active agent checks enabled, time to time I get situation, when zabbix eat 100% CPU.
Test case is:
( perl -e 'print "ZBX_GET_ACTIVE_CHECKS\nhost1\n"' ) | nc -o localhost 10051
We are find incorrect code in active.c.
If server can't send data to agent, send_list_of_active_checks closing listen socket.
After that we get infinite circle.
My system:
# pkg_info -Ix zabbix; pkg_info -Ix postgres; uname -rs
zabbix-1.4.4,1 Application and network monitoring solution
zabbix-agent-1.4.4,1 Application and network monitoring solution
postgresql-client-8.2.6_1 PostgreSQL database (client)
postgresql-server-8.2.6 The most advanced open-source database available anywhere
FreeBSD 7.0-20071107-SNAP
Test case is:
( perl -e 'print "ZBX_GET_ACTIVE_CHECKS\nhost1\n"' ) | nc -o localhost 10051
We are find incorrect code in active.c.
If server can't send data to agent, send_list_of_active_checks closing listen socket.
After that we get infinite circle.
My system:
# pkg_info -Ix zabbix; pkg_info -Ix postgres; uname -rs
zabbix-1.4.4,1 Application and network monitoring solution
zabbix-agent-1.4.4,1 Application and network monitoring solution
postgresql-client-8.2.6_1 PostgreSQL database (client)
postgresql-server-8.2.6 The most advanced open-source database available anywhere
FreeBSD 7.0-20071107-SNAP
Comment