sprite reboots

Sprite lab-p3-hermes (sprite-ca913208-a7a5-4233-af2d-428f1f9255dc, runtime 0.0.2-beta.7, sbd storage, org brad-agents) has stopped and restarted without a guest shutdown at least three times since 2026-10-26.

(1) 2026-10-26, between 19:16:28Z and 19:17:27Z

  • Last in-guest heartbeat 19:16:28Z while a Task held the Sprite awake; memory low (a few GB of 8 GiB).
  • New boot id 258af1ba-32fe-44af-9ec7-1b9b30dbc63a (old dbf61030-a561-4901-b730-893619dffc51).
  • The new boot logged recovered dirty extent and ext4 journal recovery.

(2) 2026-10-29 at 20:52:09Z

  • New boot id 3b45da85-cdd2-4631-a866-b54766c62a71, a cold boot (the log shows “No database file found, attempting restore”).
  • The last request on the previous boot was at 18:41:13Z, and nothing from us was running.

(3) 2026-10-31 at 20:47:52Z

  • New boot id 86aef82b-7ac2-4b49-97c9-c113e025c8c9, about two minutes after we changed url_settings.auth from public to sprite.
  • Is a reboot expected after that change?

Earlier unexplained stops:

  • 2026-10-25 05:37Z
  • 2026-10-24 about 02:11Z
  • 2026-10-23 23:21Z
  • 2026-10-20 16:46Z
  • 2026-10-18 23:37Z

Our questions: Can you tell us from host logs what stopped the VM each time (host event or drain, sbd fault, guest panic), and whether it is a known issue with this runtime?

An unexplained restart about once a day will cut off a turn in a live chat service.

(Moderator note: the formatting of the original post was edited to improve readability)

Thanks for reporting this!

Our Machine event logs show your Sprite’s underlying VM crashing at each of the times you reported. The only difference was event (2): the crash happened at 18:58 UTC and the VM stayed stopped until a request started it at 20:52 UTC. A host drain/migration event would appear in those logs instead of a crash, so I can at least say that didn’t cause your reboots. Changing your Sprite URL’s auth setting also doesn’t trigger a reboot.

Our runtime logs only go back to Oct 30 though, so I can’t see what was happening inside your Sprite during events (1) and (2) or the earlier ones. But for event (3), our logs show your VM hitting memory allocation of 16384 bytes failed before it exited abruptly. The same thing also happened earlier that day at 17:42 UTC (followed by a VM exit at 17:43 UTC).

Since crashes seem to coincide with memory failures, I raised your org’s memory limit from 8GB to 16GB in case you want to try running this workload in a Sprite with more headroom while we keep looking. The higher limit only applies to new Sprites, so you’d need to create a new one and move your files over:

sprite create <new-sprite-name>

# pull only the paths you name, like `app/`
rsync -a -e 'sprite exec -s lab-p3-hermes --stdin --' env:/home/sprite/app .

# write `app/` to the new Sprite
rsync -a -e 'sprite exec -s <new-sprite-name> --stdin --' ./app env:/home/sprite/

If you try it, let us know if more memory helps avoid the reboots! I’ll see what other debugging we can do on our end.

Thanks, this is really helpful. A few follow-ups:

One more data point: since 06:06 UTC on Nov 5, lab-p3-hermes reports MemTotal 16 GiB instead of 8 GiB, and its file cache went past 8 GiB with no crash. Is the 16 GB limit now applying to this existing Sprite, or is that autoscaling?

To correct my earlier assumption, the memory allocation failures didn’t mean your Sprite itself was running out of memory. Those (and the resulting VM exits) were caused by hitting a different limit on the underlying host. We made changes across our fleet earlier this week to address this, and so far we haven’t seen these failures in any Sprites since then.

Your lab-p3-hermes Sprite still has the original 8GB memory limit. Since the cause for the reboots has been addressed on the host level, there’s no need to move to a new Sprite for the higher limit (in hindsight, I don’t think this would’ve helped without the host-side change).

Let’s keep an eye on how your Sprite behaves from here! :slightly_smiling_face: