Project

General

Profile

Actions

Bug #1817

closed

Rendering edit templates takes a very long time

Added by Nacho Barrientos almost 13 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Hi,

We've been experiencing very long response times using the UI to edit some entities, mainly hosts and hostgroups.

After some investigation, we found out that in some cases some edit operations were taking even longer than 20 seconds.

Average time in ms calculated from the log files:

[root@foreman01 foreman]# zcat .gz | egrep "Rendered.+edit" | sed -e "s/[^)](\([0-9.]*\)ms)/\1/" | awk '{s+=$1} END {print s/NR}'

5805.36

Attached is a full log entry for one edit operation that took 12818ms.

We're running Foreman 1.0.0 installed from RPMs taken from yum.theforeman.org/development/el6/x86_64.

Follow up if you need more debug data or information about any particular configuration detail.


Files

production.log production.log 369 KB Nacho Barrientos, 08/09/2012 10:02 AM
Actions

Also available in: Atom PDF