we had the same issue with zabbix 1.6.5 on oracle10.
with number of pollers > 30 we had a deadlock in DBget_maxid
our enviroment:
running on solaris10, oracle10.
we have a patch for this problem, but it`s only for oracle:
with number of pollers > 30 we had a deadlock in DBget_maxid
our enviroment:
Code:
Number of items (monitored/disabled) 23064(16133/5730) Number of triggers (enabled/disabled) 8861(7986/875)
we have a patch for this problem, but it`s only for oracle:
Code:
diff -cur zabbix-1.6.5/src/libs/zbxdbhigh/db.c zabbix-1.6.5p/src/libs/zbxdbhigh/db.c
--- zabbix-1.6.5/src/libs/zbxdbhigh/db.c С▒~@ и▒~Nл▒~O 29 11:14:53 2009
+++ zabbix-1.6.5p/src/libs/zbxdbhigh/db.c Ч▒~B и▒~Nл▒~O 30 03:57:21 2009
@@ -2002,7 +2002,11 @@
}
do {
+#ifdef HAVE_ORACLE
+ result = DBselect("select nextid from ids where nodeid=%d and table_name='%s' and field_name='%s' for update",
+#else
result = DBselect("select nextid from ids where nodeid=%d and table_name='%s' and field_name='%s'",
+#endif
nodeid,
tablename,
fieldname);
@@ -2083,6 +2087,9 @@
found = SUCCEED;
}
}
+ // ARSTEL patch
+ DBcommit();
+ // end
}
while(FAIL == found);
Comment