{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreiee3iwyo5ubl5g4kwah4k7q5ja3iwsuuap54wz2llb6m5vpac5nmu",
    "uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mofbp6x63tf2"
  },
  "path": "/t/codex-desktop-26-609-71450-on-macos-triggers-syspolicyd-fd-cpu-runaway/1383849#post_1",
  "publishedAt": "2026-06-16T07:29:49.000Z",
  "site": "https://community.openai.com",
  "textContent": "Codex Desktop started triggering a severe macOS syspolicyd runaway after the latest update. This is the desktop app, not the CLI.\n\nEnvironment:\n\n  * macOS on Apple Silicon\n  * Codex Desktop: 26.609.71450\n  * CFBundleVersion: 3965\n  * App path: /Applications/Codex.app\n  * Gatekeeper assessments: enabled\n  * SIP/Gatekeeper were not disabled\n\n\n\nSymptoms:\n\n  * Launching Codex Desktop causes syspolicyd to climb to 120% to 250% CPU.\n  * Codex itself also spikes CPU while this is happening.\n  * spctl --assess --type execute --verbose=4 /Applications/Codex.app returns:\n\n\n\n\n    /Applications/Codex.app: Too many open files\n\n\n  * lsof shows thousands of syspolicyd file descriptors pointing to the same Codex executable:\n\n\n\n\n    /Applications/Codex.app/Contents/MacOS/Codex\n\n\nObserved counts:\n\n  * syspolicyd FD count for the Codex executable: approximately 2538 to 2540\n  * launchctl maxfiles was raised to 65536 / unlimited and persisted through /Library/LaunchDaemons/local.maxfiles.plist\n  * Raising maxfiles reduces the immediate FD-limit failure mode, but syspolicyd still returns to high CPU after Codex is launched.\n  * Rebooting macOS does not resolve the issue once Codex Desktop is opened again.\n\n\n\nThings already tried:\n\n\n    sudo xattr -cr /Applications/Codex.app\n    sudo killall syspolicyd\n    sudo kill -9 $(pgrep -x syspolicyd)\n    sudo launchctl limit maxfiles 65536 184320\n\n\nCurrent result:\n\n  * syspolicyd is relaunched by macOS and resumes the evaluation loop.\n  * The repeated FD target is still /Applications/Codex.app/Contents/MacOS/Codex.\n  * I do not want to disable SIP or globally disable Gatekeeper for this.\n\n\n\nThis looks like Codex Desktop is repeatedly triggering Gatekeeper / syspolicy executable assessment and leaking or retaining FDs in syspolicyd. Please route this to the Desktop App team if this forum is the right place; if there is a better Desktop-specific issue tracker, please point me there.",
  "title": "Codex Desktop 26.609.71450 on macOS triggers syspolicyd FD/CPU runaway"
}