Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
[dev.icinga.com #886] ido2db forks if DB table not found #406
Comments
|
Updated by mfriedrich on 2010-10-15 17:05:23 +00:00
i have an implementation of a fix in mfriedrich/core soon. |
|
Updated by ralfk on 2010-10-20 07:47:16 +00:00 Fix successfully tested against MySQL DB (by patching original 1.2.0 with changeset_re748c9dbd85c06485aa06a0ccc61314dedb4c404_rfadf228a1f983f3da505ed27afe8efe0de87748c.diff). No forking ido2db processes any more if e.g. table icinga_instances is missing. Just these error messages appear in icinga.log:
Thanks. |
|
Updated by mfriedrich on 2010-10-20 12:18:10 +00:00
thanks for testing, mine runs fine too for the last days. i'll merge to master/r1.2.1 then. |
|
Updated by mfriedrich on 2010-10-20 15:37:35 +00:00
|
icinga-migration
closed this
Oct 20, 2010
|
Updated by mfriedrich on 2014-12-08 14:35:34 +00:00
|
icinga-migration commentedOct 13, 2010
This issue has been migrated from Redmine: https://dev.icinga.com/issues/886
Created by ralfk on 2010-10-13 12:05:19 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2010-10-20 15:37:35 +00:00)
Target Version: 1.3
Last Update: 2014-12-08 14:35:34 +00:00 (in Redmine)
After deleting of all tables in icinga DB (in my case since I wanted to re-provision the tables again), the ido2db daemon was forking many processes and initiated many connects to the MySQL DB. Notice: I have not stopped ido2db or icinga daemons before I deleted the tables. In practical table deletion could also happen without intention.
Syslog Messages:
At the end the load was about 25 and other web applications were not able to connect to MySQL any more. Then I stopped both daemons with the init scripts, but ido2db was still flooding the system with a lot of new processes and DB connects. I had to killall the ido2db processes by hand. After that a ido2db start worked.
So, at least the ido2db daemon should not "crash" the system or the MySQL RDBMS when certain tables can't be found.
See also:
Changesets
2010-10-15 17:06:11 +00:00 by mfriedrich e748c9d