Actions
Bug #19244
closedOld interfaces are never removed from Foreman DB
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
Hosts like hypervisors or docker hosts may often change interfaces (e.g. network bridges) which confuses Foreman and during fact import it creates more and more interfaces, old are never deleted. After some time when a host passes thousands of interfaces, due to O(n^2) one fact upload can take several minutes of processing.
We need to delete old interfaces from Foreman database, either during fact upload directly or on schedule (those that hasn't been updated for a while).
The behvior is really bad, Foreman eats up all memory until passenger process is restarted, which can take a while (non-Enterprise version do not have maximum memory setting).
Updated by Lukas Zapletal over 7 years ago
- Related to Feature #19243: Set reasonable request timeout for Rails application added
Updated by The Foreman Bot almost 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Shimon Shtein
- Pull request https://github.com/theforeman/foreman/pull/5211 added
Updated by Marek Hulán almost 7 years ago
- Translation missing: en.field_release set to 330
Updated by Shimon Shtein almost 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 41a56a22be1da6bba018bfe4fbaeeaeca95ec754.
Actions