Two of my sprites, A and B, stopped accepting exec and console connections on 3 Nov. A third sprite in the same org, C, works fine. All three are on 0.0.4.
Symptoms
API exec returns Expected 101 status code: 503 every time.
sprite exec hangs, while the same command on sprite C returns immediately.
sprite console fails with: failed to start sprite command: failed to connect: read tcp …:443: i/o timeout
I’ve triggered reboots and upgrades from the management portal several times for both sprites, and none of them had any effect. The API still reports status as running for A and cold for B, and updated_at for both is from before the failure.
Context
Both sprites were busy right before failing, with several builds running in parallel, so they may have run out of memory. I saw the same exec 503 on one of them in October, right after the 0.0.4 storage migration; a restart from the console fixed it then.
Questions
Is this a known issue, and is there a way to recover from it myself?
Is there a way to see whether a sprite hit an out-of-memory event or crashed?
Hello @jcqc! Apologies for the experience here. Depending on the root cause, it’s certainly possible to recover a wedged sprite by either restarting it or upgrading its version from the management control plane. However, since none of your reboot/upgrade operations have succeeded yet, we’ll have to apply manual intervention on our end for recovery.
There are different reasons why a sprite might wedge, but we’ll have to look into each one to investigate.
That said, I don’t see any sprite named “A” or “B” for your org, could you please share the sprite names? Otherwise, you can also submit the sprite details via https://fly.io/contact/