-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use-Icinga command takes too long to execute with system user #244
Comments
Hello and thank you for the issue. Have you tried to Enable Framework Code Caching on these machines? In general this will boost the loading time on certain machines by 50-80%. |
Yes that decreased the execution time to a minute. Thanks, but I think it still takes a lot of time. |
This can happen because of many different reasons, for example low CPU/Memory usage available, plenty of activity on the machines including huge disk I/O. We added another experimental feature with 1.4.0 - Experimental: Forward Checks to internal API This will reduce the required Framework loading time even more and offload the checks to an internal API. Maybe this helps in addition on this machine. Please note - it is still an experimental feature. |
Hello @LordHepipud, In my case it's not a resource issue since most of the machines have very little of their memory or CPU occupied. I will test the feature you recommended! |
Hello, do you have a feedback for me on how the new feature performs? Did you have time to test it already? |
Hello, No unfortunately I didn't have time to test the new feature but it is planned to be done. |
Hello @LordHepipud, I tested the new feature but I haven't seen any changes in the execution time compared to the |
Hello is this still an issue with the latest version of Icinga for Windows? We should have resolved this by now. |
Hello,
I recently run into some problems with the
Use-Icinga
command. When I try to execute it it takes too much time.I timed the execution with the
Measure-Command
:After the first execution it seems to be ok but the check on icinga times out during the 4-5 minutes.
I run into the same problem on two more servers.
Environments
OS: Windows Server 2012 R2 Standard
Powershell version: 4.0
Icinga version: 2.12.3
Icinga powershell framework version: 1.4.0
OS: Windows Server 2016 Standard
Powershell Version: 5.1
Icinga version: 2.12.3
Icinga powershell framework version: 1.4.0
The text was updated successfully, but these errors were encountered: