I am able to force the issues simply by closing and restarting minion regulary in a sequence. It has all the appearances of a race condition.
A look at the resource monitor shows me that while hung this way Minion has 25 Threads open.
It seems to very slowly coold down the number of threads (1-3 every 15 minutes) so it might actually close itself eventually. Yet none of those threads draw any CPU load.
During normal operation the Thread count is in the 30-40's. Wich seems a bit high for a programm that is just waiting for user input.
If you put in some logging for threads started/ended you might be able to figure out where the race condition happens.
|