Page 1 of 2

Slow Apply Config

Posted: Wed Apr 02, 2014 1:09 pm
by oslec
Hi,

This is my setup:

1659 Hosts
5297 Services

Memory 8GB
4 CPUs 3.2Ghz


When apply configuration in Core Config Manager, the system delay 10-20 Minutes...to apply configuration...

Regards!

Re: Slow Apply Config

Posted: Wed Apr 02, 2014 1:25 pm
by tmcdonald
What is your CPU load and memory usage? Please run the "top" command from the command line and send a screenshot.

Do you have a ramdisk configured? How about an offloaded db?

What sort of checks are you running? Anything that relies on Java?

Re: Slow Apply Config

Posted: Wed Apr 02, 2014 1:53 pm
by oslec
Hi,
applyconfig.png
freemem.png
top.png
Regards!
SD

Re: Slow Apply Config

Posted: Wed Apr 02, 2014 1:56 pm
by oslec
The screens where apply the configuration..

top2.png
top3.png

Re: Slow Apply Config

Posted: Wed Apr 02, 2014 1:58 pm
by slansing
So what tmcdonald mentioned above are steps you take to improve your performance, they will not necessarily decrease your apply configuration time unless your system was being strapped for resources already which it does appear to be with that load average. Your apply configuration time is fairly similar to what we have seen for that amount of hosts/services as it is right at the tipping point where we would suggest another XI server addition. 2014 is being released shortly and that *should* improve your apply configuration times a good deal.

Re: Slow Apply Config

Posted: Wed Apr 02, 2014 2:04 pm
by oslec
Hi,

Thanks for the answer..

What is the best solution for the amount of Hosts and Services...offload mysql in other server, ramdisk....etc ?

Regards!

Re: Slow Apply Config

Posted: Wed Apr 02, 2014 2:10 pm
by tmcdonald
oslec wrote:What is the best solution for the amount of Hosts and Services...offload mysql in other server, ramdisk....etc ?
Pretty much this for now. You could look into mod_gearman as well, but as slansing said 2014 is going to speed things up quite a bit.

Re: Slow Apply Config

Posted: Wed Apr 02, 2014 9:35 pm
by sujitt
when is 2014 coming ?

I am haviing the same issue where apply config is not able to complete. It errors out when I am trying to configure approx 8000 unconfigured objects

Re: Slow Apply Config

Posted: Thu Apr 03, 2014 8:45 am
by tmcdonald
sujitt wrote:when is 2014 coming ?

I am haviing the same issue where apply config is not able to complete. It errors out when I am trying to configure approx 8000 unconfigured objects
We don't really have a set date for it, but we can say it will be soon.

As for the timeout, can you check some PHP settings for us?

grep "memory_limit" /etc/php.ini
grep "max_execution_time" /etc/php.ini
grep "max_input_time" /etc/php.ini

Re: Slow Apply Config

Posted: Thu Apr 03, 2014 9:06 am
by sujitt
max_execution_time = 12000


max_input_time = 12000
memory_limit = 2048M