You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex Computer Use Logs Taking Up My Entire Computer Storage #25815
The Computer Use component (SkyComputerUseClient) accumulates large amounts of
disk space during a session that cannot be reclaimed until Codex is fully
quit.
What happens: The process writes temporary files (likely screen captures /
automation buffers), immediately unlinks them from the filesystem, but keeps
the file handles open. On macOS, disk space for a deleted file is only freed
when the last open handle is closed. Over a long session this silently grew to
~118 GB — invisible to Finder, du, and df since the files are unlinked.
How I found it: lsof +L1 (lists open files with link count 0 — i.e., deleted
but still held open) showed SkyComputerUseClient (PID 5439) holding hundreds
of deleted file handles totaling ~118 GB.
How it was fixed: Quitting Codex completely released all 118 GB instantly.
Expected behavior: Temporary files should either be closed promptly after use
or the process should be periodically flushing/closing old handles so disk
space doesn't accumulate across a long session.
Environment: macOS, Codex Desktop, Computer Use feature enabled.
changed the title [-]Codex Random Logs Taking Up My Entire Computer Storage[/-][+]Codex Code Use Logs Taking Up My Entire Computer Storage[/+]on Jun 2, 2026
changed the title [-]Codex Code Use Logs Taking Up My Entire Computer Storage[/-][+]Codex Computer Use Logs Taking Up My Entire Computer Storage[/+]on Jun 2, 2026
Activity
github-actions commentedon Jun 2, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
etraut-openai commentedon Jun 2, 2026
Which logs are you referring to? Can you provide more details?
jallieson commentedon Jun 2, 2026
The Computer Use component (SkyComputerUseClient) accumulates large amounts of
disk space during a session that cannot be reclaimed until Codex is fully
quit.
What happens: The process writes temporary files (likely screen captures /
automation buffers), immediately unlinks them from the filesystem, but keeps
the file handles open. On macOS, disk space for a deleted file is only freed
when the last open handle is closed. Over a long session this silently grew to
~118 GB — invisible to Finder, du, and df since the files are unlinked.
How I found it: lsof +L1 (lists open files with link count 0 — i.e., deleted
but still held open) showed SkyComputerUseClient (PID 5439) holding hundreds
of deleted file handles totaling ~118 GB.
How it was fixed: Quitting Codex completely released all 118 GB instantly.
Expected behavior: Temporary files should either be closed promptly after use
or the process should be periodically flushing/closing old handles so disk
space doesn't accumulate across a long session.
Environment: macOS, Codex Desktop, Computer Use feature enabled.
[-]Codex Random Logs Taking Up My Entire Computer Storage[/-][+]Codex Code Use Logs Taking Up My Entire Computer Storage[/+][-]Codex Code Use Logs Taking Up My Entire Computer Storage[/-][+]Codex Computer Use Logs Taking Up My Entire Computer Storage[/+]