Can't connect to sprite: Input/output error

I think this is a dupe of sprite lots of "File X: Input/output error" . This specific sprite shows as warm in sprite ls, but:

  • When I sprite c I get “mkdir: cannot create directory ‘/home/sprite/.terminfo’: Input/output error”.
  • I can exec commands, though, and I can get in with sprite exec -tty /bin/bash. Then,
    • htop returns “Error opening terminal: xterm-256color” and
    • whoami returns “whoami: cannot find name for user ID 1001: Input/output error”.
    • claude returns “bash: /home/sprite/.local/bin/claude: Input/output error”
    • when I try to cat any file I get the standard “Input/output” error

Hm that’s an interesting one! You mentioned being able to exec, if you exec htop/whoami/etc. do those succeed noramlly, or also fail with the same io error as when using the tty shell?

I just moved the sprite (or at least, the only warm one in your account :slight_smile: ) across machines. Let me know if you’re still seeing issues connecting via console.

If you are still seeing issues, could you share the name + a bit more about what you’re running in the sprite? eg. multiple concurrent claude instances, or just one, any other concurrent processes or sprite services you have

Thanks for the response! The sprite in question is trex-2. It’s having the same issues, so I guess you moved the wrong one. I was running claude and mysql, and was doing a mysql restore. I edited my original message to have some more info about what different commands return.

Ok did that one as well, let me know how it looks.

Those outputs are from running them after using sprite exec -tty /bin/bash to open a shell, correct? If you just do a sprite exec htop or whoami, do those also hit the same error?

Oh, sorry, I didn’t read your response closely enough. Well, now I can connect to 2 fine and everything seems to work fine, though it seems I lost my files on it (which doesn’t matter to me, it was only a test box). I’m continuing my experimenting on 1 because it still has its files. If I run into this again I’ll let you know the output of those exec commands

Hey, I ran into an issue again! 1 is no longer responding; new connections can’t be made (including execs) and my existing connection seems frozen. When I run sprite exec whoami I eventually get “Error: connection closed”. I recently started running a mysql import on that sprite, I’m starting to think that’s the common factor.

Gotcha, thanks for those details! We’re taking a closer look at those two sprites and the underlying machines. The mysql import is likely related, but whether it’s the cause or just triggering something latent I can’t say for sure.

From the metrics we have, it does look like somethings putting a ton of IO pressure on the sprite causing it to lock up.

1 Like

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