Coder.comC
Coder.com3y ago
4 replies
DW

Why is my autostop not working?

Hi everyone, I have noticed that in our team many workspaces seem not to automatically stop, even though TTL is set to 4H. More specifically, I have been out of office the last 2 days and found my workspace still active.
I uploaded the template here: https://gist.github.com/damiondoesthings/d04310a09c68af7201b43a846f45f503

One suspicion I have is the Spark UI running on port 4040, as the docs state that app activity may bump the shutdown deadline:
https://coder.com/docs/v2/latest/workspaces#autostop

Can anyone elaborate on what is considered "activity" or how I might be able to troubleshoot this?

I am on Coder version 0.23.7.
Thanks!
Gist
GitHub Gist: instantly share code, notes, and snippets.
workspace.tf
Learn about Coder workspaces.
Workspaces - Coder v2 Docs
Was this page helpful?