Skip to content

macOS Codex relaunch loop exhausts syspolicyd file descriptors and blocks app launches #25243

Description

@guidedways

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

Version 26.527.31326 (3390)

What subscription do you have?

Pro

What platform is your computer?

macOS

What issue are you seeing?

syspolicyd is seeing one /Applications/Codex.app/Contents/MacOS/Codex process opening every 1 second, and the entire system freezes up after a little while, nothing opens with Too many files opened errors. I've tried killing every codex process, killing syspolicyd, rebooting etc, it starts to spam syspolicyd the moment I launch Codex.app

/
/usr/libexec/syspolicyd
/usr/lib/dyld
/Library/Preferences/Logging/.plist-cache.1EfNczv9
/private/var/db/SystemPolicyConfiguration/Tickets-shm
/private/var/db/analyticsd/events.allowlist
/private/var/db/timezone/tz/2026b.1.0/icutz/icutz44l.dat
/private/var/db/SystemPolicyConfiguration/KextPolicy-shm
/usr/share/icu/icudt78l.dat
/private/var/db/SystemPolicyConfiguration/ExecPolicy-shm
/System/Library/Frameworks/Security.framework/Versions/A/PlugIns/csparser.bundle/Contents/MacOS/csparser
/private/var/db/mds/messages/se_SecurityMessages
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/Resources/Localizable.loctable
/System/Library/Frameworks/CFNetwork.framework/Versions/A/Resources/DafsaData.bin
/dev/null
/dev/null
/dev/null
/private/var/db/SystemPolicyConfiguration/Tickets
/private/var/db/SystemPolicyConfiguration/Tickets-wal
/private/var/db/SystemPolicyConfiguration/Tickets-shm
[ctl com.apple.netsrc id 7 unit 63]
/private/var/db/SystemPolicyConfiguration/KextPolicy
/private/var/db/SystemPolicyConfiguration/KextPolicy-wal
/private/var/db/SystemPolicyConfiguration/KextPolicy-shm
/private/var/db/SystemPolicyConfiguration/gke.bundle/Contents/Resources/gk.db
/private/var/db/SystemPolicyConfiguration/ExecPolicy
/private/var/db/SystemPolicyConfiguration/ExecPolicy-wal
/private/var/db/SystemPolicyConfiguration/ExecPolicy-shm
192.168.1.28:53283->17.248.213.70:https
/private/var/db/SystemPolicyConfiguration/XProtect.bundle/Contents/Resources/gk.db
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex

... **several hundreds more**

/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Applications/Codex.app/Contents/MacOS/Codex
/Users/fahad/.codex/computer-use/Codex Computer Use.app/Contents/MacOS/SkyComputerUseService
/Applications/Codex.app/Contents/MacOS/Codex

What steps can reproduce the bug?

Launch Codex

What is the expected behavior?

No response

Additional information

No response

Activity

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

    appIssues related to the Codex desktop appbugSomething isn't workingperformance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions