Skip to content

Windows desktop: 5,737 concurrent Git processes exhaust system commit and crash app #54497

Open

Description

@panaresium

What version of the Codex App are you using (From “About Codex” dialog)?

Current configured updater result on 2026-10-16: app 26.1013.31256, build 20586, production channel, status up_to_date. The installed Windows package is 26.1013.3656.0.

The captured failures occurred with Windows package 26.1007.9446.0. The corresponding About-dialog version at failure time was not recorded. No claim is made that the newer version has or has not fixed this issue; no destructive stress reproduction was attempted.

What subscription do you have?

Not included in this sanitized report; this is a local background-process/resource-exhaustion incident.

What platform is your computer?

Windows 11 x64, OS version 10.0.26340, 32 GiB physical RAM.

What issue are you seeing?

Repeated uncontrolled Git process fan-out under a verified Codex backend exhausts Windows system commit and coincides with desktop hangs/app closures. Two complete process-counter captures on 2026-10-15 recorded:

Capture (UTC+7) Simultaneous Git processes Combined Git private committed bytes System commit used
approximately 20:08 5,276 92.134 GiB 99.998%
approximately 20:48 5,737 98.275 GiB 100%

All captured Git processes in those peak inventories had valid Codex backend ancestry. Local app metadata contained watch-repo and subscribe-live-query status activity. These are observed associations; the exact internal scheduling/event loop is not yet identified.

On 2026-10-16 at approximately 08:45 (UTC+7), a local observer counted another 5,378 Codex-descended Git processes. Their subcommands were not retained. Windows recorded system commit exhaustion at 08:45, 08:51 and 09:53, a desktop ChatGPT.exe crash at 08:45:55 (exception e0000008), and a codex.exe failure at 08:46:34 (exception c0000409), with packaged Codex WER crash records. A later ChatGPT.exe hang was recorded at 10:28:28; its precise cause is unconfirmed because process recording had an earlier gap. Exception codes alone are not treated as a root-cause diagnosis.

An external, status-only cancellation workaround did not cover the October 16 Git command forms and failed under memory pressure. Its recorded cancellations were accounted for by controlled tests, not real incident mitigation. It has been removed from automatic execution. A read-only bounded process recorder is running instead. No wrapper or post-spawn kill mechanism is proposed as the product fix.

What steps can reproduce the bug?

There is no deterministic minimal reproducer yet. The observed usage was the Windows desktop app with multiple existing local coding chats and background repository refreshes. The user was not deliberately launching thousands of Git commands. Multiple active chats are context, not a proven trigger.

Please investigate launch accounting and overlapping refresh/probe requests in Windows repository watchers/live queries and backend Git metadata probes. A safe vendor-side regression test could inject 5,000 repository invalidation events and verify bounded actual child creation, including Git for Windows launcher/child variants. The user machine should not be subjected to that stress test.

What is the expected behavior?

Bound Git work before process creation, globally and per repository. Coalesce redundant refreshes, single-flight/cache repeatable probes, and bound the pending request queue. Preserve ordering/semantics of writes and return current-generation results. Keep interactive work responsive and recover from child allocation/failure as a repository-status error rather than terminating the app or exhausting the whole machine.

A cap on the entire backend or an external wrapper that leaves thousands of waiting processes is insufficient. Please expose active, queued and coalesced request counts so the fix can be verified without reproducing system exhaustion.

Additional information

Related report: #54439 describes redundant read-only Git probes on Windows. It is relevant context, but its 16–22 launches per turn are different from the thousands of simultaneous processes captured here; a shared root cause has not been established.

Hardware temperature or defective RAM has not been established as the cause of these Git storms. Separate earlier kernel incidents have not been conflated with this report.

This report intentionally excludes usernames, machine identifiers, repository names, filesystem paths, chat/session identifiers, credentials, source code, raw logs and dumps. No raw attachments are included. Local evidence is retained for a separately reviewed, privacy-safe follow-up if needed.

Activity

  1. added
    bug
    app
    windows-os
    on Oct 16, 2026
  2. github-actions commented on Oct 16, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. panaresium commented on Oct 16, 2026

    @panaresium
    Author

    New recurrence confirmed on the newer Windows package, 2026-10-16 (times UTC+7).

    The failure is no longer limited to the older package in the original report. Windows Application Error records identify ChatGPT.exe from Codex package 26.1013.3656.0 at 12:09:35. The desktop updater had reported app 26.1013.31256, build 20586, production, up_to_date earlier that morning.

    Two additional captured episodes:

    • 11:50:13: 5,616 simultaneous Git processes, 97.7639 GiB combined Git private commitment. All 5,616 had Codex ancestry. System commit subsequently reached 127.6274 GiB / 127.6274 GiB (100%). Windows later recorded bugcheck 0xEF; this is a separate recorded crash, not a hardware-cause diagnosis.
    • 12:09:29: 5,777 simultaneous Git processes, 100.5940 GiB combined Git private commitment, all with one Codex backend ancestor. The inventory contains 2,891 Git roots directly parented by that backend and 2,886 Git launcher descendants. System commit reached 127.6266 GiB / 127.6274 GiB (99.999%) before recording stopped. Desktop Window Manager and the Codex desktop process then crashed. A new Windows boot was recorded at approximately 12:13; that boot's Kernel-Power event has BugcheckCode=0.

    New command attribution:

    • A bounded read-only sampler retained 512 currently live, creation-time-identified Git processes classified as diff at each peak. These are sampled categories, not proof that all 5,777 processes had identical commands or flags. At the latest peak, fresh command reads were skipped because commit headroom was too low; the 512 classifications were cached for those same still-live identities.
    • During the latest episode, app Git performance metadata for the affected repository records source=review_model, requestKind=review-summary / branch-diff-stats, subcommand=diff. It also records composer_content / watch-repo status failures during exhaustion. These narrow the affected paths; the precise internal fan-out/lifetime defect is still unconfirmed.
    • Windows error records report Git executable version 2.47.0.2. No Git upgrade, artificial launch storm or hardware stress test was performed.

    A cooperative admission helper serializes explicit agent-issued Git commands and spaces them by five seconds, but cannot intercept the desktop app's independent Git requests. Its last completed control record preceded both episodes. No automatic Git cancellation guard is active.

    Please include review-model/branch-diff/live-query requests in a bounded pre-spawn scheduler, not only watcher status. Please also advise whether a supported temporary per-repository pause for automatic Git/review refresh exists. The user needs to preserve chats/files without terminating processes or restarting Windows.

    This follow-up contains aggregate counters and fixed operation metadata only. User/machine identities, repository names/paths, credentials, chat IDs, raw command arguments, logs and dumps are excluded. No raw attachments uploaded.

  4. panaresium commented on Oct 16, 2026

    @panaresium
    Author

    Additional diagnostic findings from the installed Windows desktop package 26.1013.3656.0:

    1. The inspected Git worker has a per-repository metadata-command guard. Its command classifier includes status, rev-parse, merge-base, several ref queries, and some read-only config queries, but excludes git diff. The guard is conditional on that classifier. Six bounded checks of the extracted pure classifier and review-mode selector passed without launching Git: status/config reads were classified for the guard, while diff --stat and diff --numstat were not. This establishes a gap in this specific scheduling layer; it does not prove that there are no other schedulers or establish the complete cause of the process storm.

    2. The installed UI contains a built-in “Disable Git-based diffs” option intended to retain Last Turn while disabling Unstaged/Staged/Branch review sources. Its setting is git-review-mode = last-turn-only. On this installation the option is absent from Settings > Git, and the installed review-mode selector forces full mode when its rollout gate is disabled. Writing the preference alone would therefore not activate the mitigation. No preference, feature-gate cache, executable, or packaged application code was modified.

    3. The configured updater reports up_to_date (its displayed installed version is 26.1013.31256, build 20586, prod; the live Windows package version is 26.1013.3656.0). No eligible update was offered during this check.

    Could OpenAI expose or enable the existing Git-diff disable option for affected Windows installations as an interim mitigation, and investigate a bounded process-lifetime queue that also covers background diff/review-summary/branch-diff-stats work, with coalescing and backpressure before process creation? Limiting only CPU use after launch would not address the aggregate committed-memory exhaustion already captured in this issue.

    The user needs to continue using the desktop app with existing task history and files preserved, without forced process termination or a Windows restart. No claim of a local fix is being made, and no live stress test was run. Only sanitized findings are included; no private paths, task IDs, repository content, raw logs, or dumps are attached.

  5. SocialK commented on Oct 16, 2026

    @SocialK

    I think you are very lucky, after audit of my Codex I found that it does push to the Git that I even dont know
    I blocked git everywhere i could , but it still does send something to the codex git, that's a god bless for you it does push only to your own git.

    --
    Codex performed an actual git push (not just a suggestion) to an OpenAI-operated repository on git.chatgpt-team.site (the backend for ChatGPT/Codex Sites).

    The log shows:
    A remote branch main was created.
    The command finished with exit code 0 (successful push).

    What was uploaded
    The pushed commit and its history contained 25 files related to a website/project:

    Pages, styles, build configuration, server-side code, and a database schema.

    Not included:
    Files from other work projects
    Codex session history
    .env files
    SQLite databases

    A scan for common secret/key formats found no matches. This does not guarantee that no sensitive information exists in the source code itself. After the push, there were three attempts to privately deploy the site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugperformancewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions