Project

General

Profile

Actions

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.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Performance
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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 open0 closed)

Related to Foreman - Tracker #11657: Performance refactoring for HostsControllerNew09/02/2015

Actions
Actions #1

Updated by Dominic Cleal almost 9 years ago

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.

Actions #2

Updated by Dominic Cleal almost 9 years ago

  • 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.

Actions #3

Updated by Dominic Cleal almost 9 years ago

  • Related to Tracker #11657: Performance refactoring for HostsController added
Actions #4

Updated by Erwin Van de Velde almost 9 years ago

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).

Actions

Also available in: Atom PDF