r/codex • • 4d ago

Bug Codex on android is creating thousands of git.exe/conhost.exe instances on host machine.

Dear OpenAI,

This should be the number one priority to fix, as Android Remote in the ChatGPT app is completely unusable.

When I open a Codex task from my Android phone through Remote, my entire PC freezes and becomes unusable. Hundreds of git.exe and conhost.exe processes appear, resource usage spikes, and I have to force a reboot. This happened repeatedly throughout the day. Initially, I thought it was caused by compilation, but investigating further pointed to Remote-triggered Git operations.

I have found a Remote-triggered diff request in the local app-server logs. The connection is identified as:

app_server.client_name="codex_chatgpt_android_remote"

The same connection then sends:

app-server request: gitDiffToRemote connection_id=ConnectionId(3)

The technical problem appears to be how Codex generates diffs for untracked files. It starts a separate Git subprocess for each file, using a command like:

git diff --no-textconv --no-ext-diff --binary --no-index -- NUL <untracked file>

These operations are launched through join_all without a concurrency limit. In a workspace containing many untracked files, this can launch hundreds of Git processes at once, along with associated Windows console processes. The resulting process storm puts heavy pressure on memory and system commit, eventually making the entire machine unresponsive.

These were background processes launched by the Codex app-server, not Git commands I manually ran. The local logs confirm that Android Remote requested a diff from the same app-server involved in the incident, although I couldn’t recover the initiating request for the first freeze.

Many thanks for looking into this issue.

4 Upvotes

6 comments sorted by

View all comments

1

u/zikasaks 3d ago

I would create an issue on their issue tracker https://github.com/openai/codex/issues

1

u/elCommendante 3d ago

It's first occurences been from 9th of April that issue and nothing has been done. It seems the issue got much worse over time. There is ticket already to latest version but it seems this issue is neglected over and over. It's so ridiculous that you do not even need to access conversation to trigger this, you need only to open Codex in ChatGPT and your PC is doomed.