salt icon indicating copy to clipboard operation
salt copied to clipboard

Windows Minions use too much CPU if master has rejected the salt-key

Open shealutton opened this issue 12 years ago • 6 comments

If you reject a Windows minion's key with salt-key, the minion will consume high % of cpu. It seems to be spinning on key checks. My workstation was using 50% on two cpus.

Version 17.1.1.

Very repeatable. Install minion on a windows system. Reject the key on the master. Observe the salt process on the windows minion.

shealutton avatar Dec 05 '13 17:12 shealutton

Thanks for the report.

@UtahDave ping.

basepi avatar Dec 05 '13 17:12 basepi

@shealutton ooc, have you left a minion in this state running for a few days? If so do you also see a memory leak situation where the minion.exe process consumes more and more RAM?

whiteinge avatar Dec 05 '13 18:12 whiteinge

Thanks, @shealutton I'll do some testing on this today.

UtahDave avatar Dec 05 '13 19:12 UtahDave

I just tested this with salt-minion 2014.1.1 and I'm not seeing this cpu spike anymore.

@shealutton are you still seeing this behavior?

UtahDave avatar Apr 01 '14 22:04 UtahDave

I'm going to close this out because I can't reproduce this issue with the latest Windows Salt minion. Please feel free to reopen this issue if this occurs again.

Thanks!

UtahDave avatar Apr 03 '14 20:04 UtahDave

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

stale[bot] avatar Jan 09 '20 09:01 stale[bot]