Input/output error when compiling

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

bash: /etc/profile.d/languages_env: Input/output error

What’s the play here? I was pretty excited to recommend sprites to my customers but I keep running into these errors.

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?

I could this was a “quick test”.. now luckily the checkpoint restore worked.. I have top going so hopefully we can catch this in the act.

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.

1 Like

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