Grok Bot computer unusable: host process leaks memory until it's killed, Update doesn't replace machine (Ticket T-I16486 )

Where does the bug appear (feature/product)?

Grok Bot

Describe the Bug

My Grok Bot computer has been unusable for over a day. The app shows “waking up” but I can’t get into it, and my bots can’t do any real work on it.

My bot ran diagnostics on the computer, and the cause looks clear:

/opt/sand/sand-host/host-main.cjs leaks memory steadily. Today it was at 7.7 GB 20 minutes after restarting and at 10.7 GB after 36 minutes. The machine has 16 GB and no swap.
It keeps growing until the kernel’s out-of-memory killer stops it. The kernel log shows Killed process (node) anon-rss:14733384kB. The desktop display crashes along with it, which is when the app says “waking up.”
It starts again and repeats the same cycle every 1–2 hours.
This happens even with every workload on the computer paused, so it isn’t caused by anything my bots are running.

I emailed [email protected] (ticket T-I16486) and sent follow-ups with details, but haven’t had a reply.

Steps to Reproduce

I pressed Update Bot’s Computer twice this morning and tried resetting yesterday. Neither one moved the computer to a new machine, and it has now been running for over 5 days and 14 hours without a restart.
I fully quit and reopened the app.
I have NOT used Reset today, because of the warnings about losing recent files.

Expected Behavior

The computer stays up, and Update moves it to a fresh machine.

Operating System

MacOS

Version Information

Mac OS Version 0.75.2

Additional Information

Please help.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Sam11,

This is a known issue we’re already tracking, and I’ve added your report to it. On some Grok Bot computers the background host process keeps growing after each restart until the computer runs out of memory, and it appears linked to computers that hold a very large number of files.

Updating only moves your computer to a new machine after confirming your files are safely saved, so nothing should be lost. While the computer keeps running out of memory that save can’t finish, so Update deliberately leaves the computer where it is. That’s why the uptime never changed.

Reset and Recover also carry your files over to the new machine, and with this issue that step hasn’t been finishing. When it doesn’t finish the old computer is kept, so your files are still there, but you don’t get a fresh machine either. Holding off on more Reset attempts for now makes sense.

One thing that would help: did any of your bots start creating or downloading a large number of files around Oct 17 (for example package installs, scraped pages, caches or datasets)?

Hi @Colin thanks for getting back with me. Yeah, I’d say around the 17th, one of my bots (1 of 3) is a Tester for an application that I’m working on with another bot, and it installs the app and tests as changes are made, but that’s the only large items I could think of. It’s still down as of this morning as well, so I’m still at a standstill here on my end. It really shot up usages as well. I unified the plan on Tuesday I think, so not sure if this issue is affecting usage as well or just bad timing.

Hey @Sam11,

That fits what we’re seeing. Your computer saves its files to a backup so they survive a move to a new machine. Dependency and build folders (like node_modules, dist or build) are only skipped when they’re inside /workspace. In the bots’ own work folders they’re saved file by file, so a bot that installs and rebuilds an app over and over can add a very large number of files. That’s likely where the extra files came from.

I’ve tried something to get your computer up again, please check it again in an hour or so.

Once it’s back, it should help to ask your tester bot to keep the app’s checkout and installs under /workspace, and to delete old copies of the app (and their node_modules folders) from its own work folder.

On usage: the big increase started around Oct 17, when the tester bot got going. That was a few days before the computer got stuck and before your plan change, and the day you switched looked like the day before. So it seems to come mostly from the testing work itself rather than the plan switch. There was a smaller bump on Oct 21 while the computer kept restarting, and very little since.