Machine never shuts down

Hi, I have this problem with one of my projects. Basically the machine never shuts down, this is my config

app = "classicum"
primary_region = "fra"

[env]
DIRECTUS_TOKEN = "***"
DIRECTUS_URL = "***"
PORT = "3000"

[http_service]
auto_start_machines = true
auto_stop_machines = true
force_https = true
internal_port = 3_000
min_machines_running = 0
processes = [ "app" ]

[[mounts]]
destination = "/data"
source = "data"

[[vm]]
cpu_kind = "shared"
cpus = 1
memory = "512mb"

Could someone help me understand this behavior? Thanks

Hi, I checked and this app’s machine is correctly stopping when there are no requests for a while. I also see it keeps restarting when new requests come in - this may be what you’re seeing, but it seems to be working normally to me.

What makes you think it’s not stopping?

  • Daniel

hi, thank you for answering. I have 3 services on my account and one of them has a gray icon next to it while classicum (the one with the issue) has a green icon. Isn’t the green icon supposed to mean that the machine is currently running? chiese-della-citta works fine, it has a little delay when I open it just like i would expect from a stopped machine. I’m sure classicum does not receive 24/7 traffic. Thanks in advance for your time in helping me!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.