SOLVED

Shutdown when idle does not seem to work, Any suggestions?

%3CLINGO-SUB%20id%3D%22lingo-sub-2282027%22%20slang%3D%22en-US%22%3EShutdown%20when%20idle%20does%20not%20seem%20to%20work%2C%20Any%20suggestions%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2282027%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20using%20Azure%20Labs%20for%20an%20Engineering%20course%20where%20students%20have%20simulations%20that%20can%20take%20hours%20to%20run%20on%20a%20Windows%2010%20machine.%20The%20idea%20was%20that%20students%20could%20start%20the%20simulation%2C%20disconnect%20and%20then%20let%20it%20run%20in%20the%20background.%20When%20the%20simulation%20finished%20the%20machine%20would%20shut%20itself%20down%20and%20stop%20using%20up%20budget%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20set%20up%20the%20machines%20to%20shutdown%20automatically%20if%20the%20machine%20is%20idle%20for%20more%20than%2015%20min%20but%20this%20does%20not%20seem%20to%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20clues%2C%20any%20other%20options%20or%20suggestions%3F%20We%20don't%20want%20to%20shutdown%20automatically%20if%20they%20disconnect%20because%20we%20want%20the%20simulations%20to%20continue%20even%20if%20they%20are%20not%20connected.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2308050%22%20slang%3D%22en-US%22%3ERe%3A%20Shutdown%20when%20idle%20does%20not%20seem%20to%20work%2C%20Any%20suggestions%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2308050%22%20slang%3D%22en-US%22%3EHi%20there%2C%20unfortunately%20our%20auto-shutdown%20settings%20currently%20do%20not%20enable%20custom%20definitions%20of%20what%20%22idle%22%20means.%20The%20%22shut-down%20when%20idle%22%20setting%20shuts%20down%20when%20there%20is%20no%20user%20input%20(keyboard%2C%20mouse)%20and%20if%20the%20CPU%20usage%20is%20low.%20%3CBR%20%2F%3EIf%20you%20have%20a%20good%20estimate%20of%20how%20long%20the%20simulations%20run%20on%20average%2C%20you%20could%20try%20setting%20the%20auto-shutdown%20when%20idle%20to%20be%20much%20longer%20(e.g.%20several%20hours).%20You%20could%20also%20try%20setting%20stop-only%20schedules%20at%20specific%20times%20that%20will%20shut%20down%20all%20the%20student%20VMs%20by%20a%20certain%20time.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2315726%22%20slang%3D%22en-US%22%3ERe%3A%20Shutdown%20when%20idle%20does%20not%20seem%20to%20work%2C%20Any%20suggestions%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2315726%22%20slang%3D%22en-US%22%3EThanks%20for%20the%20insights%2C%20I%20will%20try%20them.%3C%2FLINGO-BODY%3E
New Contributor

We are using Azure Labs for an Engineering course where students have simulations that can take hours to run on a Windows 10 machine. The idea was that students could start the simulation, disconnect and then let it run in the background. When the simulation finished the machine would shut itself down and stop using up budget

 

We have set up the machines to shutdown automatically if the machine is idle for more than 15 min but this does not seem to work.

 

Any clues, any other options or suggestions? We don't want to shutdown automatically if they disconnect because we want the simulations to continue even if they are not connected.

 

Thanks

2 Replies
best response confirmed by Allenjanssens (New Contributor)
Solution
Hi there, unfortunately our auto-shutdown settings currently do not enable custom definitions of what "idle" means. The "shut-down when idle" setting shuts down when there is no user input (keyboard, mouse) and if the CPU usage is low.
If you have a good estimate of how long the simulations run on average, you could try setting the auto-shutdown when idle to be much longer (e.g. several hours). You could also try setting stop-only schedules at specific times that will shut down all the student VMs by a certain time.
Thanks for the insights, I will try them.