Bug #12563
open
Opening edit host page with many parameters is very slow
Added by Erwin Van de Velde almost 9 years ago.
Updated almost 9 years ago.
Description
Foreman's web interface is very slow when clicking edit for a host, page load times go to > 30s. I cleared out the reports of the host and that helped a bit, but it is still too slow to be nice to work with. I have created a log and you can find it on pastebin: http://pastebin.com/Vg5MxyGe . I am running Foreman 1.10.0 RC3.
The system has about 100 parameters (4 of which have overrides of the default for this host), 60 puppet classes.
Feel free to contact me for more details and further testing.
Related issues
1 (1 open — 0 closed)
The pastebin unfortunately has a Puppet run happening at the same time so is a little hard to read, but I see these:
2015-11-20T17:22:41 [app] [I] Rendered common_parameters/_puppetclass_parameter.html.erb (12131.0ms)
2015-11-20T17:22:42 [app] [I] Rendered hosts/edit.html.erb within layouts/application (17179.2ms)
2015-11-20T17:22:42 [app] [I] Completed 200 OK in 18072.0ms (Views: 17248.1ms | ActiveRecord: 255.0ms)
which seems to account for most of the time.
- Subject changed from Opening edit host past is very slow to Opening edit host page with many parameters is very slow
This is also probably a continuation of, or regression since #3145, which is already in the 1.10.0-RC3 build.
- Related to Tracker #11657: Performance refactoring for HostsController added
Dominic Cleal wrote:
This is also probably a continuation of, or regression since #3145, which is already in the 1.10.0-RC3 build.
Please note that I have used 1.10.0-RC3 to test this, so if the problem is related, that fix did not work (completely).
Also available in: Atom
PDF