-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #8488] Figure out why 'node update-config' becomes slow over time #2644
Comments
Updated by mfriedrich on 2015-02-20 16:35:21 +00:00 One possible spot: GetBlackAndWhiteList() gets called each time a blacklist is checked against. |
Updated by mfriedrich on 2015-02-20 19:19:45 +00:00
AddObject() calls the config validation every time (which is only reasonable when adding objects through the cli command line). |
Updated by mfriedrich on 2015-02-20 20:08:40 +00:00
|
Updated by mfriedrich on 2015-02-20 20:34:20 +00:00 Previous run took hours, now its down to 23 minutes for 20k objects.
|
Updated by mfriedrich on 2015-02-20 20:38:02 +00:00
Please test the recent patches. |
Updated by tobiasvdk on 2015-02-23 14:43:47 +00:00
It's much faster now. I don't have the exact time before the patch because it took more than 10 minutes (and I killed the task).
|
Updated by mfriedrich on 2015-02-23 14:54:55 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/8488
Created by mfriedrich on 2015-02-20 08:49:37 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2015-02-23 14:54:55 +00:00)
Target Version: 2.3.0
Last Update: 2015-02-23 14:55:05 +00:00 (in Redmine)
Once generating a large change set from the api repository, we'll run into performance issues with inserting new changes.
There are 2 possible bottlenecks already identified:
Though there is more to profile and possibly fix.
Attachments
Changesets
2015-02-20 16:05:00 +00:00 by mfriedrich 9ae9204
2015-02-20 20:01:07 +00:00 by mfriedrich 23005e1
2015-02-20 20:34:59 +00:00 by mfriedrich 4e1c754
The text was updated successfully, but these errors were encountered: