Skip to content

Windows: Codex app-server spawns thousands of Git processes and exhausts system commit #53645

Open

Description

@kobukurorb1-bit

Related report: #53063

Environment

  • Windows desktop, approximately 16 GiB RAM.
  • Codex app update checker reports installedVersion 26.1007.21434, installedBuildVersion 13901, prod, up_to_date. Desktop package log paths also contain 26.1007.2314.0; these identifiers should not be conflated.
  • Git for Windows 2.53.0.2.
  • System-managed page file on a drive with hundreds of GiB available.
  • Local Git repository attached to Codex. No reliable minimal reproduction yet.

Observed incidents

All times below are 2026-10-13, Asia/Tokyo (UTC+09:00). A lightweight independent recorder sampled system commit, available RAM, process counts and later Git parent identities.

Time Commit GiB Commit limit GiB All processes git.exe conhost.exe
18:24:28 17.86 39.74 752 226 193
18:24:59 35.83 39.74 2187 1187 665
18:25:30 49.94 50.87 3168 1851 980
18:26:01 56.17 56.93 3422 2040 1049
18:26:33 61.18 61.97 3964 2387 1250

Available RAM was 76 MiB at 18:26:33. The recorder subsequently failed allocations. At 18:27:30, Windows logged dwm.exe startup failure 0xc0000017. Git and console hosts also crashed. System commit returned to 14.33 GiB at 18:28:38.

A second recorded surge at 20:12:04 had 4,925 processes, including 2,998 Git and 1,608 console hosts. The first 30 captured Git wrapper instances all had parent PID 16952, name codex.exe. The desktop log explicitly identifies PID 16952 as the spawned Codex app-server. This is direct evidence of the spawning parent for those sampled instances; it does not establish the parent of every Git process.

Desktop logs around both incidents report canceled or timed-out internal Git metadata operations (review-summary, branch-diff-stats, watch-repo), including git status and git diff. The earlier incident's parent identities were not recorded. The Git wrapper normally starts the real Git binary; that ordinary two-process structure is not itself evidence of a defect.

The computer was later restarted unexpectedly. Kernel-Power 41 had BugcheckCode=0. The final restart is not proven to have occurred at the memory peak, and its exact mechanism remains uncertain. No claim is made that thousands of uploads occurred.

Impact and mitigation

Repeated severe loss of responsiveness, DWM failure/session loss, application crashes and subsequent restarts. A local containment guard now stops a verified Codex app-server if it has at least 80 concurrent direct Git children, then stops matching Git descendants. This interrupts Codex work. It is not a repair of the underlying defect, and recurrence prevention has not yet been validated.

Requested investigation

Please investigate unbounded Git spawning and subprocess lifetime/cancellation handling in the Windows Codex app-server, and provide a supported repair or a documented way to disable the affected automatic Git metadata operations. The precise trigger remains unknown. A raw process-parent history for all instances is unavailable.

This report intentionally excludes personal paths, repository URLs, email addresses, session content and raw logs.

Activity

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

    @github-actions
    Contributor
  3. vargovmartin-commits commented on Oct 16, 2026

    @vargovmartin-commits

    Additional Windows 11 Codex Git process fan-out evidence — 16 October 2026

    I captured an independently monitored Git process fan-out while using Codex Desktop on Windows 11 (approximately 32 GiB RAM).

    Observed process growth:

    • At 14:35:36 CEST: 376 Windows processes, 44.3% RAM usage, 22% CPU.
    • At 14:35:50 CEST: 627 Windows processes, 49.3% RAM usage, 76% CPU.
    • Net growth: 251 processes in approximately 14 seconds.
    • Newly observed process identities: 167 git.exe, 84 conhost.exe, and 1 svchost.exe.

    Verified parent-child relationship:

    ChatGPT.exe (PID 846904) → codex.exe (PID 525492)

    The Codex process was the direct parent of 86 newly observed Git processes. Another 81 Git processes had a Git process as their immediate parent.

    Process creation timestamps cluster between 14:35:46 and 14:35:52 CEST.

    The independent safety monitor triggered STOP, and Codex was closed. Windows subsequently remained responsive.

    A separate examination of session metadata found seven custom_tool_call events between 14:34 and 14:38, including one earlier Git mention. The exact triggering command was not established.

    Known limitations: Full Git command lines and internal Git watcher/retry logs were unavailable. Windows Defender event collection was incomplete. No causal involvement by Defender or Alienware utilities was demonstrated.

    Request to maintainers: Please investigate concurrency limits, retry/backoff behavior, subprocess cancellation and lifetime management in the Windows Codex app-server's Git metadata operations. Is there a supported way to suspend automatic Git refresh until the underlying issue is resolved?

    No credentials, personal paths, repository identities, source code or raw session transcripts are included in this report.

    A sanitized evidence packet is prepared and available for review.

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

    appapp-serverbugperformancewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions