Skip to content

Windows desktop 26.924.2738.0: recurring accumulation of Git processes, 98% physical RAM and severe system slowdown #48666

Open

Description

@gitcrhub

Summary

During use of the Codex Windows desktop app, the user directly observed many Git processes in Task Manager together with 98% physical RAM utilization and severe system-wide input/UI delays. Taking a screenshot was no longer possible. The user reports that this has happened before.

Incident: 2026-09-27, shortly before 11:36 CEST (UTC+02:00). The exact start time and maximum Git-process count were not captured.

The Git processes were terminated before the first live diagnostic snapshot. The user explicitly confirmed having terminated Git processes. By 11:36:23 CEST, no git.exe processes remained and physical RAM utilization was approximately 53.4%.

Environment

  • Windows, x64; approximately 16 GB RAM (15.23 GiB visible to Windows).
  • Installed desktop package: OpenAI.Codex_26.924.2738.0_x64__2p2nqsd0c76g0, identified from the running desktop executable's package path.
  • Desktop process: ChatGPT.exe; its child app-server process: codex.exe.
  • Local Git project, with existing uncommitted work.
  • Exact Windows build and bundled Git/CLI versions were not collected for this report.

Preserved diagnostic evidence

The following are extracts from a custom local Windows/RAM diagnostic log, not internal Codex logs. Times below are CEST on 2026-09-27; original log timestamps are UTC.

Time Physical RAM used Git processes Observation
10:50:59 54.75% 0 Before the incident
11:01:10 54.49% 0 Before the incident
11:11:00 54.53% 1 Recorded Git parent: ChatGPT.exe, PID 4184
11:20:59 54.65% 0 Last pre-incident sample
11:37:07 41.35% 0 After Git processes had been terminated

A separate read-only native RAM sampler, started after recovery, measured approximately 40.4–40.9% between 11:37:11 and 11:40:06 CEST.

The same preserved log contains these Windows events:

  • 11:33:29 CEST: Service Control Manager errors 7009 and 7000, and DistributedCOM error 10005.
  • 11:33:57 CEST: Application Error 1000 for SnippingTool.exe version 11.2607.23.0, exception c000027b.

The Snipping Tool failure coincides with the user's inability to obtain a screenshot. Its precise cause has not been established.

Evidence limits

  • The 98% peak and many simultaneous Git processes were directly observed by the user in Task Manager. They were not captured by the diagnostic sampler: only roughly ten-minute snapshots were active at that point. Under severe memory pressure, measurement and log writing may themselves be delayed or fail; the last interval was about 16 minutes. We cannot determine how much of that gap was scheduling versus resource pressure. The missing peak is not evidence against the user's observation.
  • The earlier single Git process parented by the desktop app is contextual evidence, not a captured process tree for the later storm.
  • We do not have the command lines, parent identities or memory breakdown of the Git processes present during the peak.
  • Consequently, this report does not establish whether the trigger was per-file diff fan-out, status polling, orphaned child processes, or another Git path.
  • No high-load reproduction has been attempted because the machine had become barely responsive.
  • Full chats, project contents, local account paths and unreviewed raw logs are omitted.

Related reports and requested investigation

Potentially related: #43019 (Windows Git diff fan-out and system memory exhaustion) and #17229 (repeated/orphaned Git processes on Windows). Similar symptoms do not establish an identical root cause.

Please investigate Git-subprocess concurrency, cancellation, timeouts and process-tree cleanup in desktop build 26.924.2738.0, including background repository/review operations. A Git workspace should not cause system-wide memory exhaustion or make recovery tools unusable.

Please advise which bounded, low-overhead diagnostic capture would distinguish these code paths safely if another incident occurs.

Activity

  1. added
    bug
    app
    windows-os
    on Sep 27, 2026
  2. github-actions commented on Sep 27, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. gitcrhub commented on Sep 27, 2026

    @gitcrhub
    Author

    Follow-up on the automated duplicate suggestion linking #48430:

    Both reports were submitted by me and concern the same Windows host, but they document incidents on consecutive days:

    Please cross-reference these as reports of recurrence on the same host when investigating Git subprocess concurrency, cancellation and cleanup. A shared root cause remains unconfirmed.

    The GitHub notification email supplied by the user contains the existing automated duplicate suggestion; it is not an independent GitHub measurement of the host's memory. No new stress reproduction has been performed.

  4. gitcrhub commented on Sep 27, 2026

    @gitcrhub
    Author

    Clarification of the report's origin and authorization: I, the user and owner of the GitHub account gitcrhub, initiated this bug report and requested its submission to OpenAI. I also explicitly requested the follow-up information to be sent. The Task Manager observations described as user observations are mine. Codex assisted with preparing and submitting the report and its follow-ups on my instructions.

  5. gitcrhub commented on Sep 27, 2026

    @gitcrhub
    Author

    Further recurrence on 27 September: captured Git fan-out, failed graceful restart, and mitigations tried

    Posted by Codex at the user's explicit request, including their request to connect this evidence with the earlier reports. The user explicitly initiated and requested both original reports (#48430 and #48666), as well as this follow-up and the cross-references. Codex assisted with preparation, diagnostic checks and submission on the user's instructions.

    Relationship to the previous reports

    • #48430: same Windows host, 26 September; interrupted review-subagent recovery, Windows stop 0x7A, and user-observed memory/process growth. That report does not establish that Codex caused the OS stop.
    • #48666: same host, morning of 27 September; many Git processes and 98% RAM observed by the user, severe system lag, and recovery after Git processes were terminated.
    • This update documents additional recurrences on the evening of 27 September, with captured process command lines and parent relationships. It is new evidence for the existing incident series, not another report of an OS stop. A shared root cause remains unconfirmed. The earlier cross-reference and user-authorization clarification remain applicable.

    Same approximately 16 GB Windows host and local repository with existing uncommitted work. The desktop package recorded earlier today was 26.924.2738.0; the evening executable version was not re-measured.

    New observations

    All times below are UTC on 2026-09-27 (add two hours for CEST). Counts and RAM readings were taken in nearby, sequential snapshots, not one atomic measurement.

    Time Observation
    17:01 Approximately 53.9% physical RAM; existing continuous resource watcher healthy.
    17:03:05 Our bounded local test runner stopped its own job with a PermissionError / NATIVE_OR_IO_FAILURE. The precise failing native/I/O operation is not established. Its test descendants were subsequently absent.
    About 17:05 98 Git processes and 71.92% physical RAM. A process inventory captured numerous Git commands with codex.exe as parent, and git.exe wrapper/child pairs.
    About 17:06:53 445 Git processes in the nearby snapshot; watcher RAM reading 86.27%.
    17:07:01 Independent read-only native sampler measured 88.83% physical RAM.
    17:09:40 After the user reported a normal Exit and reopen: zero Git processes, approximately 56.5% RAM.
    17:11 Watcher recovery gate passed. Four narrowly scoped synthetic-test scratch exclusions were added locally and verified with git check-ignore. The next test request was refused BEFORE payload start because the watcher had become stale.
    About 17:12 1,580 Git processes and 81.18% physical RAM in the nearby native sample. Thus normal Exit/reopen and the exclusions had not prevented recurrence. No new test payload had started in this interval.
    17:26 After the user reported terminating ChatGPT through Task Manager and restarting: zero Git processes, approximately 52.7% RAM.
    17:27–17:34 Recovery was re-qualified. Subsequent bounded serial tests passed; spot checks were approximately 48–49% RAM with zero Git processes. This is a limited recovery observation, not proof of a permanent fix.

    The user explicitly confirmed that no changes/diff/review pane was open after the final restart. We do not have an independently captured UI state for the earlier growth intervals.

    Captured commands included the following shapes, with private paths replaced:

    git -c safe.bareRepository=explicit -c core.hooksPath=NUL -c core.fsmonitor=false diff --no-textconv --no-ext-diff --binary --no-index -- NUL <untracked-file>
    git -c safe.bareRepository=explicit -c core.hooksPath=NUL -c core.fsmonitor= status --no-renames --ignored=matching --untracked-files=all --porcelain=v1 -z -- <many-individual-paths>
    

    Targets included existing untracked evidence archives, JSON/XML evidence, and generated test-fixture files. In the captured process inventory, many direct Git parents were the same live codex.exe process. Some Git processes spawned another git.exe, so process counts must not be interpreted as counts of independent requested operations. We did not capture ancestry for every process at the 1,580-process sample, or a complete per-process memory breakdown.

    Countermeasures already in place or tried

    1. Nonessential applications had been closed earlier, reducing host RAM to around 49%. No VM, installer, download, UAC elevation or VM test was started during this incident sequence.
    2. A custom continuous native host-memory watcher sampled every five seconds, independently of the chat. At 80% it closed the start gate. Resumption required an explicit reviewed acknowledgement and two valid samples at or below 72%, spanning at least 40 seconds.
    3. Agent-issued tests/Git operations were serial and used bounded Windows jobs with memory, process-count and time limits. The test job here was bounded to 768 MiB commit budget and eight processes. It could terminate only its own descendants; it did not control the desktop app's independently spawned Git processes. Read-only review agents were not running concurrently.
    4. After interruption, test outcomes and process termination were checked before retrying. Repository index and the protected source hash were verified unchanged after restarts. Partial logs/results were retained.
    5. Generated fixture folders were found to fall outside one existing ignore pattern. Four precise local scratch-folder patterns were added to .git/info/exclude, and git check-ignore confirmed them. No source or evidence files were deleted. These exclusions alone did not prove sufficient to stop the recurrence.
    6. Normal app Exit/reopen briefly reduced the counts, but growth returned. The user then terminated the app through Task Manager and restarted it; only a bounded period of stable subsequent operation has been observed.
    7. The watcher itself stopped publishing reliably and its process ended during the incident sequence. Its separate supervisor recorded three replacement starts across the recurrences. We rechecked owner/process identity and recovery gates rather than treating an old READY file as current. The exact cause of those watcher exits is unresolved.
    8. No blanket killing of unrelated processes, threshold increase, pagefile change, app installation/update, or deliberate stress reproduction was performed by the agent.

    Requested investigation

    Please connect this new evidence to #48430 and #48666 and investigate bounded concurrency, cancellation and process-tree cleanup for background per-file diff/status operations, including untracked files, normal app Exit, and repository monitoring when no review pane is open.

    The new parent/command-line evidence supports investigating the app's Git integration. It does not yet identify the initiating code path or prove that every Git process was leaked or that Git alone accounted for all RAM use. Please advise on a bounded, low-overhead capture that can distinguish queue fan-out, repeated retries and orphaned descendants without making this host unresponsive again.

    Only this sanitized summary is being posted. No repository contents, local account paths, credentials, raw chats, unreviewed logs or screenshots are attached.

  6. gitcrhub commented on Sep 29, 2026

    @gitcrhub
    Author

    29 September update: observed incidents and tested local RAM protection

    This report and its submission were explicitly requested by the user. Codex prepared and submitted this factual follow-up at the user's direction, including the request to link the earlier reports.

    Relationship to the previous reports

    • #48430, 26 September: reported app crashes and interrupted subagent recovery; a Windows stop 0x7A was supported by the user's photograph and a Windows event-log check. Post-restart screenshots showed RAM rising from 80% to 96%. These observations do not establish the cause of the Windows stop.
    • #48666, 27 September morning: the user observed many Git processes, 98% RAM and severe system lag. Diagnostics were collected after the user terminated Git processes; the peak was not captured by the sampler.
    • The 27 September evening follow-up documented sequential snapshots with 98, 445 and later 1,580 Git processes, nearby native RAM measurements up to 88.83%, and captured examples of Git commands parented by codex.exe. Counts included wrapper/child pairs and were not counts of independent operations. A normal app restart gave temporary relief before recurrence. The exact initiating code path and complete memory attribution remain unknown.

    Additional local observation on 29 September

    The native sampler recorded 85.63% physical RAM at 08:52:13 UTC, followed by 57.24% at 08:52:18 UTC. The existing main-loop process capture occurred after the peak. This supplies no identified process responsible for that peak and no evidence of another Windows stop.

    Local protection now implemented and activated

    These are changes to our own host-protection helper, not a patch to Codex:

    1. Continuous native RAM sampling every five seconds, a closed start gate at 80%, and recovery only after reviewed acknowledgement and two valid samples at or below 72% spanning at least 40 seconds. Stale or invalid readings prevent new controlled workload. Agent-issued jobs run serially with memory, process-count and time limits; interrupted work is checked before resumption. This controls our own job trees, not the desktop app's independently spawned Git processes.
    2. A single bounded recorder is now triggered directly by a native sample at or above 80%. Process capture runs separately from the sensor's sampling loop. It records timing and incomplete results explicitly; a blocked recorder does not spawn replacement workers. This addresses the demonstrated delay in the earlier capture path. It cannot guarantee identification of every short-lived peak.
    3. An isolated Windows test reproduced a defect in our helper's publishers: a reader opened without delete sharing could make atomic replacement fail with WinError 5; a retained temporary file could obstruct the supervisor's next publication. The repair retries only designated replacement errors within a cooperative two-second budget, while retaining the existing checks against changed or foreign file contents. Real short and persistent sharing conflicts, other errors, and content changes were tested. This reproduced helper defect has not been established as the cause of the historical live failures or host crashes.

    Verification and limits

    The activated helper passed a 722.891-second observation from 12:17:06 to 12:29:09 UTC on 29 September: 145 observations, stable identities for its three processes, and 19 advancing RAM and 19 diagnostic-log generations. The gate remained valid in that interval.

    For the entire three-process helper tree, peak summed PrivateBytes was 133.80 MiB and measured CPU use was 0.4583% of one core over that interval. These are bounded measurements, not a startup-peak or long-term guarantee. Targeted automated checks and separate read-only reviews were completed. No deliberate 80%-RAM live stress test was performed.

    The local protection is active and the above verification passed. We have not demonstrated that Codex's Git-process accumulation or the underlying crash cause is fixed. No private project contents, personal paths, raw logs, screenshots or credentials are attached.

  7. gitcrhub commented on Sep 30, 2026

    @gitcrhub
    Author

    30 September follow-up: two further local protection repairs

    The user explicitly requested this report and its submission. Codex prepared this factual update at the user's direction.

    This follows the 29 September report, the 27 September follow-up, and the earlier incident reports #48430 and #48666.

    Two additional defects in our own protection helper were identified and repaired after the last report:

    1. Completion receipts: The controlled job starter could finish its job but fail to publish the final receipt under a short Windows file-sharing conflict. Bounded replacement retries now apply only to the two final state files (receipt and run-control state), after the owned job has ended. Alarm, start, acknowledgement and review writes retain their existing behavior. Real short and persistent locks, foreign-content changes and the complete finalization sequence were tested; 34 starter checks passed.
    2. Protection publication depended on diagnostic duration: Native five-second RAM sampling was already independent, but protection-state processing and publication still shared the PowerShell main loop with process/event diagnostics. An isolated 21-second delay left the latest native sample only 1.079 seconds old while the published sample was 21.110 seconds old; the unchanged gate correctly closed. The protection publisher now runs in one dedicated runspace within the existing observer process, independently of those diagnostics.

    The revised production composition maintained fresh, identity-bound publications during a real 21-second injected diagnostic block and completed the actual 40-second low-RAM qualification. Separate native tests covered stale sensors, start failure, normal shutdown, a hung worker and persistent write failure. When an output file was replaced externally, those foreign contents were preserved and the actual observer exited with code 42; the real supervisor entered OUTPUT_CHANGED and did not start a replacement. Review also found a combined failure path where cleanup of a hung worker could overwrite terminal code 42. That path was corrected and checked with actual process handles for both RAM- and log-file drift; the supervisor preserved the no-replacement result. Independent reviews, 59 final watcher checks and the existing native alarm regression are part of the completed acceptance record.

    The five-second native sampling, 15-second freshness limit, 80% intervention threshold, recovery at or below 72% over 40 seconds, and reviewed acknowledgement requirements remain unchanged. No automatic retry of interrupted user work was added.

    Both repairs are now activated following the user's explicit approval. Code, targeted test evidence, independent reviews and the operating acceptance are complete and backed up. The old installation and diagnostic evidence were preserved during the controlled change. The existing read-only diagnostic schedule was rebound to the new installation and read back.

    A 723.203-second operating observation from 2026-09-30T07:56:12.6545696+00:00 to 2026-09-30T08:08:15.8502490+00:00 passed with 145 observations, unchanged identities for all three helper processes, and 19 advancing RAM and 19 diagnostic-log generations. Maximum observed protection-sample age was 3.672 seconds, within the unchanged 15-second limit. Peak summed PrivateBytes for the complete three-process helper was 145.71 MiB; measured CPU use was 0.5337% of one core. These are bounded operating measurements, not a startup-peak or long-term guarantee. No deliberate 80%-RAM live stress test was performed.

    These are repairs to our local helper, not changes to Codex. They do not establish the cause of the historical live freshness gaps, Git-process accumulation or Windows crashes, and do not demonstrate that the underlying Codex issue is fixed. No private project content, personal paths, raw logs, screenshots or credentials are attached.

  8. gitcrhub commented on Oct 1, 2026

    @gitcrhub
    Author

    1 October follow-up: local protection improved; historical causes remain unresolved

    The user explicitly initiated this report and requested its submission. Codex prepared and submitted it at the user's direction, including the request to report findings from the preceding improvement. This follows the 30 September report, the 29 September report, and the incident series #48430 / #48666.

    Since the last report, our own helper gained a bounded native status reader with read/delete sharing and validation on its held file handle. The preceding supervisor improvement removed persistent disk synchronization from its transient status publication. An isolated experiment deliberately blocked that synchronization for 16 seconds and showed that the existing two-second replacement budget did not cover this earlier wait. Normal flush/close and atomic replacement remain; durable owner-lock, guard, acknowledgement and run-receipt writes were not changed. The tradeoff is weaker persistence of the last transient supervisor status after a system crash; absent, damaged, stale or foreign state still prevents new controlled work. These experiments established particular local mechanisms, not the causes of historical live failures.

    That preceding version initially passed a 145-observation operating check, with peak summed PrivateBytes of 149.05 MiB and CPU use of 0.6067% of one core. Interruptions subsequently continued. This is why a positive short operating check is not being presented as proof of a permanent repair.

    In the requested observation window from 30 September 19:58:39 UTC to 1 October 06:00 UTC, we identified two connected interruption/recovery chains requiring our intervention. The original event RAM was unknown in both: neither an under-80% false alarm nor an at-least-80% memory alarm was established. The additional passive reader had a 39-minute-10-second gap, so these counts do not establish complete coverage. Two further chains were detected around 06:43 and 06:52 UTC, while the preceding supervisor version was still deployed. The latter exhausted its replacement attempts and left an owned temporary status file. Original evidence was preserved before reviewed recovery. No active controlled workload was interrupted in those two post-window chains.

    The latest bounded change preserves the supervisor's actually observed stop branch (bridge exit, active-process limit, or consumed native Job-limit notification), the values actually queried, and separate exit observations before and after cleanup. Unqueried values remain unknown. This separates observations that were previously conflated; it does not infer an inner cause. No additional process, growing event log or RAM-causality claim was added.

    Eleven new lifecycle tests, including three real Windows Job fixtures, eighteen existing supervisor tests, thirty manager checks and a real foreign-output/exit-42/no-replacement check passed. Separate reviews checked implementation and operation. The five-second sampling, 15-second freshness, 80% intervention, recovery at or below 72% over 40 seconds, explicit acknowledgement, bounded retries and foreign-output preservation remain unchanged. A review finding was resolved by making aggregate memory/CPU acceptance mandatory alongside the observation harness result.

    The latest change is activated; its code, operating evidence and documentation are independently checked and privately backed up. One operating observation from 07:00:50 to 07:12:53 UTC on 1 October passed: 723.625 seconds, 145 observations, unchanged identities for all three helper processes, 19 RAM and 19 diagnostic-log generations, maximum protection-sample age 4.422 seconds, and supervisor-status age 4.937 seconds. Peak summed PrivateBytes for the complete helper was 144.32 MiB; CPU use was 0.4751% of one core. Observed host RAM was 53.69–57.26%. These are bounded interval measurements, excluding startup peaks; differences from previous runs are not a controlled performance comparison or long-term reliability guarantee.

    These changes affect our local helper, not Codex. They do not demonstrate that Git-process accumulation, underlying host crashes or all helper interruptions are fixed. Our earlier request to investigate the app's background Git concurrency, cancellation and process-tree cleanup remains applicable. No deliberate high-RAM live stress test was performed. No private project content, personal paths, raw diagnostics, screenshots or credentials are attached.

  9. gitcrhub commented on Oct 1, 2026

    @gitcrhub
    Author

    Requested supplement: the two incident-count tables

    The user explicitly requested publication of both tables and confirmed that these are the 30 September evening and 1 October morning summaries. This supplements the 1 October update.

    Here, “false signal” follows the user's operational definition: a protection signal while physical RAM was below 80%. That category includes process/time-limit and other protective interventions; it does not by itself establish that those mechanisms malfunctioned.

    1. Evening summary — 30 September 2026, approximately 19:40 Europe/Berlin

    Counted window: from the user's request at 13:23 to approximately 19:40 CEST (11:23–17:40 UTC).

    Signal category Count Interventions by the agent
    “False signal” by the user's definition: documented RAM below 80% 5 5
    Actual RAM alarm: documented RAM at least 80% 0 0
    RAM at the original signal unknown 9 9
    Total within the signal window 14 14

    There was one additional intervention during the window for a below-80% signal triggered before the window, bringing the interventions since the request to 15. A separate pre-window RAM alarm at 81.69% was documented and is excluded from this table. This was not a complete retrospective count of that day.

    2. Morning summary — 1 October 2026, 08:00 Europe/Berlin

    Counted window: 30 September 21:58:39 to 1 October 08:00 CEST (19:58:39–06:00 UTC). This window covered only the then-new supervisor version, preceding the lifecycle-observation improvement described in today's update.

    Signal category Count Interventions by the agent
    “False signal” by the user's definition: documented RAM below 80% 0 established 0
    Actual RAM alarm: documented RAM at least 80% 0 established 0
    RAM at the original signal unknown 2 2
    Total identified chains 2 2

    Related alarm, acknowledgement and recovery observations were grouped once per connected incident chain; routine successful-job reviews, synthetic tests and planned activation restarts were excluded. The original RAM value was unknown in both night-time chains. Later low readings were not substituted for the missing event-time readings.

    The additional passive reader had a 39-minute-10-second coverage gap; retained rolling diagnostics do not prove complete coverage. “0 established” therefore does not prove zero such events. The two tables cover different durations, workloads and protection versions, so 14 versus 2 is not a controlled before/after reliability comparison or a measured reduction rate. The latest activated change was qualified separately after both windows.

  10. gitcrhub commented on Oct 2, 2026

    @gitcrhub
    Author

    1 October follow-up: failed local guard trial, preserved evidence and rollback

    The user explicitly initiated this follow-up and requested its submission. Codex prepared and submits it at the user's direction, in the same scope as the preceding reports. This follows the earlier 1 October report and its incident-table supplement. The changes discussed below concern our separate local protection helper, not a Codex patch.

    Additional evidence: the local guard became stale at 18:31:29 UTC and its controlled test job stopped at approximately 18:31:30. A later native snapshot at 18:32:00 reported 82.65% physical RAM use and 3,908 processes; that inventory was partial, with 141 processes unavailable. An earlier snapshot at 18:31:22 contained 643 processes, including 201 Git processes, 129 recorded as direct children of a Codex process. These are different snapshots. They do not establish that all 3,908 processes were Git, or that Git caused the RAM spike or guard exit. Further guard freshness interruptions occurred during bounded tests and during read-only work. Original event-time RAM and inner failure causes were not always captured.

    After freezing product work, we tested a narrow helper candidate: remove explicit media synchronization only from the continuously republished guard status, while retaining normal flush/close, atomic replacement, durable defaults for other outputs and the existing restart/acknowledgement barrier. It also introduced fixed observed phase codes 61–66, retained foreign-output 42 priority and preserved the publisher exception if outer cleanup also failed. These codes describe observed phases, not root causes. A synthetic 16-second media wait demonstrated removal of that particular wait point, not a bound on all synchronous I/O. Targeted tests, real bounded child-process cases, relevant regressions and three independent code reviews passed.

    The only operating qualification of that candidate failed. The controlled job ran from 20:07:28 to 20:12:12 UTC and stopped after approximately 284 seconds because guard status became stale. The final aggregate qualification file was not produced, so no successful full-window CPU/RAM qualification is claimed. The supervisor observed exit 65, followed by 63 on each of its three bounded replacement attempts, and then stopped. An owned 429-byte temporary status file from the original sensor remained. We preserved it and the failed installation, then restored the preceding installation with fresh identity, acknowledgement and recovery checks. That preceding version also failed later, leaving another owned temporary file. This does not prove that the candidate caused the common failure; it does show that removing this media-sync point did not establish a repair. The active repository source was also returned exactly to the preceding runtime; candidate-only tests were removed from the active suite while the candidate and all evidence remain preserved. All 59 existing sensor checks passed, and three separate reviews accepted this narrow rollback. This is not acceptance of the failed optimization.

    A bounded source review found a concrete diagnostic weakness: a stale in-process snapshot can throw in the main loop, whose final cleanup then waits for a blocked guard worker. If that stop wait expires, exit 65 can terminate the process before the publisher reaches its own catch/cleanup. The first main-loop error is therefore not preserved. Complete readable temporary JSON does not prove that Flush, Dispose, hash checks or atomic replacement completed. A remaining temporary file prevents CreateNew on later starts and explains a subsequent publication-failure path; it does not identify the original blocked operation. Both durability variants retain other synchronous I/O. We did not automatically delete temporary evidence, lengthen freshness limits or add retries. The next proposed diagnostic boundary includes publication, snapshot exchange and main-loop stop/error composition together; it has not been implemented.

    The user then requested one additional 30-minute passive log. It completed from 20:28:42 to 20:58:42 UTC: 1800.005 seconds, 361 valid native RAM samples, 48.25–51.70% physical RAM use, no observed 80% sample, and a maximum sampling gap of 5.016 seconds. There were 60 distinct complete process snapshots with 0–2 Git processes. The initial already-failed interval was retained. One controlled restart of the unchanged preceding version occurred inside the window; its subsequent 336 observations had no guard age over 15 seconds and no new temporary-file residue. The first restored instance was observed at 20:30:47, so this is approximately 28 minutes of restored operation, not 30 minutes of healthy operation. No product or Git stress load was generated. Short-lived Git processes between snapshots are not excluded. Native RAM and metadata were captured at different instants; neither causality nor long-term stability follows from this observation.

    The user also requested a bounded independent search for Git/RAM evidence. #43019 reports large app-parented Git fan-out involving untracked-file diffs; #41091 reports repeated repository-status requests and timeouts. These independent user reports are leads, not confirmation of our local cause. The merged Windows Git cleanup change #36793 concerns process-tree cleanup on timeout, not an app-wide concurrency cap; its presence in this installed desktop package has not been established. These leads and our original incident evidence are being linked into the existing periodic governance/tool review, without a duplicate incident register or speculative live stress test.

    A user-authorized query of the official Microsoft Store at 20:03:34 UTC returned no applicable upgrade for the installed ChatGPT/OpenAI desktop package. No update or restart was performed. Installed package version 26.928.3736.0 and internal app version 26.928.31416/build 12553 are different version fields.

    The five-second native sampling, 15-second freshness gate, 80% intervention threshold, recovery at or below 72% over 40 seconds, explicit review/acknowledgement, bounded retries and foreign-output preservation remain unchanged. This helper cannot enforce a hard concurrency cap on Codex's own Git processes. Our request remains investigation of app-side Git fan-out, cancellation and whole-process-tree cleanup, together with bounded, non-sensitive diagnostics that preserve the first failure before cleanup. No permanent repair or common root cause is claimed. No private project contents, local paths, credentials, raw logs or screenshots are attached.

  11. gitcrhub commented on Oct 2, 2026

    @gitcrhub
    Author

    2 October follow-up: bounded Windows status reader correction

    The user explicitly initiated this follow-up and requested its submission. Codex prepared and submits it at the user's direction, in the same scope as the preceding reports. This supplements the preceding failed-trial and rollback report. This is a correction to our separate local protection helper, not a Codex patch.

    We found and reproduced a concrete reader/writer incompatibility in the helper. The PowerShell provider reader used for status snapshots opened files without delete sharing. With an actual Windows DELETE-access handle already held open, Get-Content failed to open the same file with native error 32 (sharing violation). A bounded reader with read and delete sharing passed under that same held-DELETE-handle condition. This is evidence for that specific concurrency defect; it does not establish the cause of earlier guard exits or Git/RAM spikes.

    The replacement holds one immutable file generation, validates disk-file type, rejects reparse points, bounds the input to 1 MiB, and closes the native handle before UTF-8 decoding, JSON conversion or pipeline output. Write sharing remains disabled. Primary errors are preserved if handle cleanup also fails. Seven status reads now use the same helper, including early startup reads. Writers, durable publication, the supervisor, retry budgets and protection thresholds are unchanged.

    Validation passed: 18 native-reader checks, 59 sensor checks, 33 freshness checks, 64 alarm checks, seven real integration checks, and three separate real supervisor/sensor chains for foreign guard, RAM and log replacement. Each replacement case terminated with OUTPUT_CHANGED/42 without retry and preserved the foreign bytes. Three independent code reviews passed after two test-evidence findings were corrected and independently rechecked. Negative attempts and their original outputs remain preserved. No product stress load was generated.

    After a controlled deployment with the preceding installation preserved, fresh identity checks, acknowledgement and the full recovery interval, the single operating qualification passed from 06:40:32 to 06:52:35 UTC on 2 October: 145 observations over 723.516 seconds. All three protection processes retained their identities. Their combined sampled private memory peaked at 137.43 MiB; interval CPU was 0.5054% of one core. Guard and supervisor status ages stayed within 2.843 and 3.640 seconds, respectively, and both diagnostic exports advanced through 19 generations. Host physical RAM ranged from 49.13% to 50.75%. A separate resource evaluator passed the unchanged acceptance limits. The final manager check confirmed fresh regular protection, and the temporary maintenance sampler ended cleanly. This interval excludes startup peaks; it does not prove a general improvement over earlier measurements.

    A later failure prevents us from claiming a complete repair. After that successful window, a fresh native status command failed at 07:06:54 UTC with OSError/NATIVE_OR_IO_FAILURE. The subsequent supervisor snapshot records BRIDGE_EXIT with code 1 for the original sensor tree, followed by its first automatic bounded replacement. The detailed inner cause was not captured. No controlled product or test payload was active; the last maintenance job had already completed successfully and been reviewed. The new instance was actually verified with acknowledgement required. We preserved this counterevidence; no repeat successful qualification, blind manual restart or claim that the reader change cured the recurring failure follows. The previous installation had exhibited the same general exit pattern, so this observation alone does not establish that the reader correction caused it. Product work and the planned session handoff remain blocked pending completion of the overall protection task.

    The existing 80% intervention threshold, recovery at or below 72% across at least 40 seconds, five-second native sampling, 15-second freshness gate and explicit acknowledgement remain unchanged. The old installation is retained for controlled recovery. This helper still cannot impose a hard concurrency cap on Codex's own Git processes, and short successful observation is not proof of long-term reliability.

    At the user's request we also revisited public evidence: #43019, #41091, and #36479 describe Git fan-out, repeated requests or short-lived process/page-table effects reported by other users. They are investigation leads, not confirmation of our cause. Merged PR #36793 addresses Windows timeout process-tree cleanup; its inclusion in this installed desktop package remains unverified. Microsoft's CreateFileW sharing contract supports the local sharing analysis.

    The incident evidence, native error codes and possible improvements are linked into our existing periodic governance/tool review. Routine work collects evidence; tool and workflow optimization is batched at that review unless a serious obstruction warrants an explicitly authorized exception. No duplicate incident register or additional scheduled monitor was created. Our app-side request remains bounded Git concurrency/cancellation and diagnostics that retain the first failure before cleanup. No private project contents, local paths, credentials, raw logs or screenshots are attached.

  12. gitcrhub commented on Oct 2, 2026

    @gitcrhub
    Author

    2 October follow-up: first-failure evidence and normal protection-task priority

    The user explicitly initiated this follow-up and requested its submission. Codex prepared it at the user's direction, in the same scope as the preceding reports. It supplements the status-reader correction and subsequent failure and the earlier failed trial and rollback. These changes concern our separate local protection helper, not a Codex patch.

    We improved the helper's first-failure reporting. The first successfully registered failure of the running worker is retained when cleanup also fails, and bounded exit-code fields identify the observed origin, last publication phase, exception class and available native error. Early startup failures and forced process termination remain outside that detail guarantee. Targeted validation included 23 terminal-error checks and 33 freshness checks; 59 unchanged sensor checks were reused with source bindings. Three independent reviews checked the change. These codes describe our helper's observations; they are not Windows or Codex error-code definitions.

    The new evidence identified one concrete restart obstruction: an existing temporary publication file caused CreateNew to fail with native error 80 (file exists), encoded by the helper as 0x48320050. We preserved that file and moved it only after verifying the previous owners had ended. This explained the obstruction, not why the earlier process exited. A later operating attempt failed at 11:19 UTC after 864.578 seconds because protection publication became stale. The same owners initially remained alive; the sensor subsequently ended at 11:33 UTC with helper code 0x688c0000. That code records a snapshot-origin PowerShell runtime exception and the last observed publisher phase; it does not prove the named phase caused the failure.

    Near the 11:19 freshness failure, one sampled process inventory contained 106 Git processes, 56 directly parented by Codex, versus 1 and 0 in neighboring inventories. Defender private memory also increased. These are sampled, non-atomic observations and do not establish causation. The independent five-second native RAM series continued below the 80% threshold. We neither killed unrelated processes nor changed Windows security settings.

    All three helper protection processes were observed at BELOW_NORMAL priority under task profile 7. We changed the task creator, its strict validator and the native registration contract consistently to priority 4, which Microsoft's Task Scheduler priority contract maps to normal CPU and memory priority. 41 manager checks and 62 native compilation checks passed, including rejection of every other valid task-priority value. Three independent code reviews passed. Controlled deployment preserved the old installation and confirmed NORMAL priority for all three new, identity-bound processes. The existing diagnostic automation retained its schedule and notification settings with only its source/installation bindings updated.

    The single corrected operating qualification passed from 13:13:52 to 13:43:55 UTC on 2 October: 359 observations spanning 1,802.797 seconds. The three protection processes retained their identities and NORMAL priority. Combined sampled private memory peaked at 137.54 MiB; interval CPU was 0.5365% of one core. The longest observation gap was 5.219 seconds; maximum guard and supervisor status ages were 5.484 and 4.125 seconds. Both diagnostic exports advanced through 46 generations. Sampled host RAM ranged from 43.35% to 72.08%. A separate numerical evaluation confirmed the unchanged acceptance limits. A subsequent actual manager/native readback confirmed the same healthy owners, and the temporary maintenance sampler had ended. This is a bounded operating result, excludes startup peaks and does not establish long-term reliability.

    We corrected a separate qualification-harness defect: aggregation over PowerShell ordered dictionaries produced a missing sum and a misleading memory failure despite retained measurements totaling 130.59 MiB. Explicit numerical aggregation passed 42 targeted checks and an independent review before the actual qualification. The failed attempt and original evidence remain preserved and are not counted as successful operating time.

    The 80% intervention threshold, recovery at or below 72% across at least 40 seconds, native five-second sampling, 15-second freshness gate, explicit acknowledgement and restriction to our own controllable job trees remain unchanged. This does not establish the underlying cause of the earlier failures or prove that Git, Defender, or Codex caused them. Error evidence and improvement candidates remain linked through the existing governance/tool-review record, without a duplicate registry or another scheduled monitor. Our app-side request remains bounded Git concurrency/cancellation and diagnostics preserving the first failure. No private project contents, local paths, credentials, raw logs or screenshots are attached.

  13. gitcrhub commented on Oct 7, 2026

    @gitcrhub
    Author

    7 October final local-protection update, three-day incident table, and a new captured Git burst

    The user explicitly initiated this report and requested its submission to OpenAI. Codex prepared and submits it on the user's instructions. This follows the 2 October protection update, the earlier incident tables, and the related original report #48430.

    The user reports that the computer and Codex have been running without crashes or freezes since the revised protection setup, allowing stress-free development. That is the user's operating observation. It is not a claim that the underlying Codex/Git issue has been fixed: a new short Git burst and genuine RAM alarm were captured while this report was being prepared.

    Final active local protection arrangement

    This is our separate Windows host protection helper, not a modification to Codex.

    • Native physical-RAM sampling runs every five seconds, independently of slower process/event diagnostics. A separately published, identity-bound status must be no more than 15 seconds old before new agent work starts.
    • At 80% host physical RAM, the start gate closes. A running controllable agent job and its descendants are terminated through its Windows Job object. Codex itself, its independently spawned Git processes, existing applications and unrelated processes are not blanket-terminated or suspended. When no controlled job is running, the protection blocks new agent workloads.
    • Resumption requires examination of interrupted work, an explicit acknowledgement bound to the observed alarm/instance, and two valid samples at or below 72% spanning at least 40 seconds. Invalid/stale or higher intervening samples restart the recovery qualification. Job review and host-alarm acknowledgement are separate; interrupted work is not automatically retried.
    • Only one substantial agent-controlled process tree runs at a time. Each controllable job has explicit memory-commit, process-count and elapsed-time budgets and an interruption/recovery contract. These are local job limits, not a global cap on Codex's own subprocesses.
    • A least-privilege Windows logon task owns the bound supervisor/sensor chain at normal priority. Healthy existing owners are reused. Replacement starts are bounded; foreign replacement of diagnostic outputs is preserved and stops replacement attempts. Reader/delete-sharing compatibility and first-failure preservation are included, as described in the previous reports.
    • Routine diagnostics are bounded to a rolling hour; a separate existing ten-minute check is read-only. Since 5 October, job receipts use the qualified retention store, with reviewed outcomes, guarded recovery, periodic assessment and an independent Windows cleanup task enforcing a 21-day maximum subject to documented offline/execution/protection holds. No new automatic upload or unrestricted restart mechanism was added.

    Three-day incident table

    Window: 5 October 2026 00:00 through 7 October 2026 08:30 Europe/Berlin (CEST, UTC+02:00). The final day is partial. These are distinct documented events, not an exhaustive three-day telemetry census.

    Date (CEST) Verified host RAM alarms at or above 80% Other controlled job stops, event-time host RAM unclassified Computer/Codex crashes reported by the user
    5 October 0 documented At least 2 0
    6 October 0 documented 3 0
    7 October, through 08:30 1 4 0
    Total documented 1 At least 9 0

    The other stops comprise seven JOB_NOTIFICATION, one JOB_DEADLINE and one JOB_PROCESS_COUNT events. JOB_NOTIFICATION alone does not identify its exact resource/abnormal-exit subtype. One compiler attempt additionally retained a C1060/out-of-heap-space diagnostic; we do not generalize that cause to the other events. These controlled job stops are not computer or Codex crashes. Because event-time host RAM is not established for those nine stops, they cannot honestly be assigned to the earlier table's “below 80%” category.

    Counting basis: 544 terminal receipts from the active store, covering 5 October 22:57 CEST through 7 October 08:18 CEST, contain eight distinct controlled stops; one earlier 5 October stop is separately preserved in the completed operating assessment. Routine successful jobs and nonzero test/tool exits are excluded from protective-incident counts. Earlier receipts have undergone the documented assessment/retention process, and rolling diagnostics do not provide a complete historical alarm census. “0 documented” therefore does not prove zero events. A bounded Windows event-log check found no matching standard system-crash or Codex/ChatGPT application-crash/hang records in this window; event-provider identity was checked rather than interpreting event numbers alone.

    New event during preparation of this report

    At 08:27:33 CEST on 7 October, the native sample recorded 80.3809% physical RAM. The nearby process snapshot at 08:27:34.952 CEST counted 1,498 Git processes, with 769 directly parented by codex.exe. Wrapper/child pairs are included, so this is not a count of distinct requested Git operations. These are nearby sequential observations, not one atomic inventory.

    The next sample at 08:27:38 showed 60.82% RAM; its nearby process snapshot counted zero Git processes. At 08:28:18, RAM was 59.81% and the next process snapshot again counted zero Git processes. The bounded alarm memory inventory was explicitly partial because its two-second capture limit was reached.

    No controlled compiler/test workload was active during this burst. No application or unrelated process was killed by the agent. The gate closed, the event and previous interrupted work were checked, and recovery was acknowledged. By 08:29:24, the same supervisor/sensor identities were healthy, the recovery gate was open and acknowledgement was no longer pending. The computer and Codex continued operating.

    This new evidence supports continued investigation of Codex background Git concurrency, cancellation and process-tree cleanup. It does not establish the internal initiating command, an exact per-process memory attribution or a complete root cause. We are reporting the local protection arrangement as completed, not asking to close the underlying Codex issue as fixed.

    Only this reviewed, sanitized summary is submitted. No private repository contents, local account paths, credentials, raw logs or screenshots are attached.

  14. remingtonrae71017-gif commented on Oct 8, 2026

    @remingtonrae71017-gif

    7 October follow-up: reproducible CPU/RAM saturation with Git, Node, and Java; desktop renderer frozen

    The user explicitly requested immediate reporting of this recurrence.

    Tonight on Windows, the problem is now reproducible whenever Codex is used: Task Manager shows Git, Node, and Java processes consuming essentially all available CPU and memory, with the machine becoming severely slow/unresponsive. The ChatGPT desktop UI has also entered a blank white/frozen renderer state.

    Observed symptoms:

    • Codex use triggers a rapid rise in Git/Node/Java activity.
    • CPU and memory become saturated or near-saturated.
    • System responsiveness degrades substantially.
    • ChatGPT Desktop can freeze as a blank white window.
    • The behavior recurs when Codex is used rather than being a one-off spike.

    Important evidence limit: Java is visible during the affected state, but its parent process / exact relationship to Codex has not yet been captured, so this report does not claim Codex directly launches the JVM. Likewise, the initiating Git/Node command lines and full process tree have not yet been captured.

    The user is also currently unable to complete a Windows Update download (repeated failure around 21%), but no causal relationship between that Windows Update failure and Codex is claimed here.

    This recurrence is consistent with the existing concern in this issue: unbounded or insufficiently cleaned-up background process fan-out can consume host resources and make the Windows desktop app and the operating system difficult to recover. Please investigate current Windows desktop builds for Git/Node helper concurrency, cancellation/process-tree cleanup, and any renderer/background-process interaction that can leave the app in a frozen white-window state.

    The immediate user need is a safe workaround or fixed/replacement Windows build that prevents Codex from exhausting host CPU/RAM.

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