Hi,
if you just have one masternode with the id 0 - as you seem to have,
there is an endless-loop in the code.
The following patch fixes it - applied to 1.3.7 and 1.3.8.
No surprise, that the memory gets allocated that fast.
It's "just" the stack that grows.
We are not running 1.4 server for now. Just waiting for 1.4.1 and
testing the agents of 1.4.
HTH,
Norbert.
if you just have one masternode with the id 0 - as you seem to have,
there is an endless-loop in the code.
The following patch fixes it - applied to 1.3.7 and 1.3.8.
Code:
--- zabbix-1.4/src/zabbix_server/nodewatcher/nodesender.c Tue May 29 14:52:49 2007
+++ zabbix-1.3.8/src/zabbix_server/nodewatcher/nodesender.c Tue May 22 15:02:23 2007
@@ -388,8 +388,8 @@
send_to_master_and_slave(nodeid);
- result = DBselect("select nodeid from nodes where masterid=%d",
- nodeid);
+ result = DBselect("select nodeid from nodes where masterid=%d and nodeid != %d",
+ nodeid, nodeid);
while((row=DBfetch(result)))
{
process_node(atoi(row[0]));
It's "just" the stack that grows.
We are not running 1.4 server for now. Just waiting for 1.4.1 and
testing the agents of 1.4.
HTH,
Norbert.
Comment