I’m running into this issue trying to compile an OSS package in a sprite.. it’s big one takes 2-3 hours.. I suspect it’s running into an OOM or causing an I/O issuue.. It’s pretty consistent..
Sprite console won’t reconnect.. sometimes I can sprite exec -tty bash to get in.. then I run into
Can you shell in once to start the compile process, and then shell in again to run top or similar? I wonder if there are CPU limits that kick in after more than a trivial amount of high CPU usage.
I will try that assuming restore for checkpoint works.. otherwise.. may have to wait. Going through the setup process takes an hour just to get all the compiler tool chains installed an configured.
Do you mean by a manual process? Could you write a shell script to do that, so that if you lose your work, you don’t have to go through an onerous process again?
FWIW.. I followed @halfer suggestions.. started over from a checkpoint and watched top.. when the sprite get’s down to about 300M of available memory things get wonky.. Not surprising a normal box has issues when you OOM.. I’m forced to restore checkpoints (it’s awesome to have checkpoints!)… but ideally I wish there was a reboot option.