Hi,
the first time the nodewatcher is executed, I get the following error
message in zabbix_server.log:
This is a reproducible error.
I hope I fixed it by applying the following patch - but I am still testing:
Edit: Replaced fix by a better one, no more crashes of the server !
Regards,
Norbert.
the first time the nodewatcher is executed, I get the following error
message in zabbix_server.log:
Code:
95088:20070502:121526 Query::select max(conflogid) from node_configlog where no deid=0 95088:20070502:121526 Query failed:PGRES_FATAL_ERROR:out of memory for query re sult 95061:20070502:121526 One child process died. Exiting ... 95061:20070502:121528 ZABBIX Server stopped
I hope I fixed it by applying the following patch - but I am still testing:
Code:
--- src/zabbix_server/nodewatcher/nodesender.c.orig Wed May 2 15:27:54 2007
+++ src/zabbix_server/nodewatcher/nodesender.c Wed May 2 13:26:54 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]));
Regards,
Norbert.