-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Highstate from salt-master is very slow unlike local salt-call #38710
Comments
I can try it, but do you have some manual, how to apply changes in PR to installed salt? I'm not familiar with python. I have salt installed as debian package. |
I think this is the same as #38758. |
@dosercz yes you might be running into #38758 as @bobrik pointed out. Looks like there was a performance hit with file.managed and setting a source in 2016.11. Can you confirm that this is the state thats causing issues. If you don't call a file.managed state do you see an okay performance result? The PR I did mention might help increase execution time. It helps improve the time it takes the master to publish a command. I would be interested to see if its the But to answer your question on how to apply the fix. Its simply a master side edit. So on the master you would just need to add that fix from teh PR. But as stated above I think you actually miht be running into that other issue. Let me know. THanks |
We are using file.managed so much. For minions with hundreds states is the performance difference between local/remote call big. I have tested it on small set of states with/without file.managed, and it could be a same problem probably. Set with file.managed is much slower with remote call than with local call. Set without it has similar times for remote/local call. |
ok |
I'm running state.apply from salt-master and it's very slow unlike local salt-call after upgrade to v 2016.11.1. I have there 495 states, 185 sec on salt-master but only 14 sec on salt minion. Why so big difference, where could be a problem? Any ideas? Both servers are in the same network, so there should not be a problem with slow connection.
Salt-master
Salt-minion
The text was updated successfully, but these errors were encountered: