Windows Desktop: ChatGPT/Codex processes and Chrome tabs accumulate during local work, causing system-wide slowdown
What version of the Codex App are you using (From “About Codex” dialog)?
Current Windows Codex Desktop / ChatGPT Work installation. Exact version was not captured yet and can be added in a follow-up.
What platform is your computer?
Windows (exact OS build and hardware details can be added in a follow-up).
Primary development environment
This is not limited to one unusual workspace layout. My normal Windows development workflow routinely uses all three of the following:
- Windows NTFS workspace opened natively by the Windows app
- Example:
C:\Users\wonkw\Obsidian\GotSaeng-OS
- The same kind of Windows/NTFS workspace accessed from WSL2 through
/mnt/c
- Pattern:
/mnt/c/Users/.../Documents/project
- A project stored inside the WSL2 Linux filesystem
- Linux path pattern:
/home/<user>/project - Windows UNC example:
\\wsl.localhost\Ubuntu\home\devtranger\projects
I switch between these workspace types as part of my primary daily development environment. WSL2 and Windows/WSL filesystem boundaries may be a contributing factor, especially around file watching, path translation, process cleanup, browser/plugin lifecycle, or memory retained by WSL. However, the issue should not be treated as caused by an unsupported or incidental setup: mixed Windows + WSL2 local development is the environment Codex needs to remain stable in.
A potentially relevant report is #24268, where Windows Desktop with WSL-backed sessions repeatedly produced an invalid mixed C:\mnt\c\... path during Chrome plugin reconciliation. I am not claiming the same root cause, but the Windows/WSL path and Chrome-plugin interaction makes it relevant to investigate.
What issue are you seeing?
During extended local development work in Codex Desktop (ChatGPT Work), the application progressively consumes enough resources that the entire Windows system becomes severely sluggish.
Observed behavior:
- Performance degrades over time while doing local Codex work.
- Multiple ChatGPT/Codex processes appear to remain active or accumulate.
- Browser-driven web development tasks also appear to leave many Chrome windows/tabs open after the work has finished. After repeated tasks, dozens of tabs may remain open.
- Eventually the slowdown affects the whole desktop, not only Codex: even mouse movement becomes visibly laggy.
- Closing the current task is not enough to restore normal performance.
- The reliable recovery is either:
- reboot Windows, or
- exit Codex/ChatGPT and manually terminate all remaining ChatGPT-related processes in Task Manager.
- Because this occurs repeatedly, local Codex usage becomes difficult to rely on.
I suspect unreleased processes, browser sessions/tabs, memory, or temporary state may be accumulating, but I have not yet isolated which resource is the primary cause. This report intentionally distinguishes that hypothesis from the directly observed symptoms.
What steps can reproduce the bug?
- Open Codex Desktop on Windows.
- Work across one or more of the normal workspace layouts above: native Windows NTFS, Windows NTFS accessed through WSL2
/mnt/c, or the WSL2 Linux filesystem. - Perform local development work for an extended period.
- Include web-development/browser-control tasks that open Chrome pages.
- Finish or switch between multiple tasks over time.
- Observe that Chrome windows/tabs and ChatGPT/Codex-related processes do not appear to be fully cleaned up.
- Continue working until overall Windows responsiveness degrades.
- Observe severe system-wide lag, including laggy mouse movement.
- Quit the visible app or close tasks; the slowdown may persist.
- Reboot Windows, or terminate every ChatGPT-related process in Task Manager; performance returns to normal.
The issue is progressive and may require a long session or repeated local/browser tasks rather than a small one-shot reproduction.
What is the expected behavior?
- Codex should clean up local worker/helper processes when work completes or is cancelled.
- Browser automation should close or reuse browser pages it opened, and should not leave dozens of Chrome tabs/windows behind after tasks finish.
- Memory, temporary state, process count, handles, and browser sessions should remain bounded during long-running local work.
- Quitting Codex/ChatGPT should terminate all owned background processes cleanly.
- Extended local work should not make the whole Windows desktop unresponsive.
- Codex Desktop should remain stable when projects are stored on native Windows NTFS, accessed from WSL2 through
/mnt/c, or stored in the WSL2 Linux filesystem and exposed through\\wsl.localhost. - Cross-environment path translation, file watching, worker cleanup, and browser/plugin cleanup should remain correct and bounded.
Additional information
Possibly related:
- #25390 — Windows Desktop becomes extremely sluggish with large local threads. My symptoms are similar, but the degradation is system-wide and also appears correlated with accumulated ChatGPT/Codex processes and many leftover Chrome tabs after web-development tasks.
- #34260 — Windows cleanup/process accumulation causing system-wide sluggishness.
- #12491 — child processes not reaped after task completion (reported on macOS, but similar lifecycle concerns).
- #24268 — Windows+WSL path translation produced invalid mixed paths during Chrome plugin reconciliation.
Useful diagnostics I can collect on the next occurrence if maintainers recommend a preferred method:
- Codex Desktop version and Windows build
- Task Manager process counts and memory usage before/after cleanup
- Chrome process/tab counts
- Codex logs
- temp/state directory growth
- a process tree or Process Explorer capture
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I reviewed the suggested duplicates.
There is substantial overlap, but I do not yet have enough diagnostics to identify this report as one exact duplicate:
CLOSE_WAITsocket condition has not been established in my environment.A potentially distinguishing reproduction condition in my case is that this happens during my normal mixed Windows + WSL2 development workflow across all three storage/access patterns:
C:\Users\wonkw\Obsidian\GotSaeng-OS/mnt/c/Users/.../Documents/project\\wsl.localhost\Ubuntu\home\devtranger\projectsBecause I have not yet captured process-family counts, Browser ownership, or app version during an affected episode, closing this as a specific duplicate now could incorrectly merge multiple symptoms. On the next occurrence I will try to capture:
node.exe, MCP, Chrome/Browser renderer,VmmemWSL,taskkill.exe,conhost.exe, andWmiPrvSE.exewsl --shutdownindependently restores responsivenessIf those measurements match #38825 or #38751 cleanly, I will move the reproduction evidence to the matching issue and close this one as a duplicate.