René's URL Explorer Experiment


Title: [Bug]: Terminal daemon spawns full-table ps scans ~1,000/min on macOS, keeping syspolicyd/EDR busy around the clock · Issue #31783 · stablyai/orca · GitHub

Open Graph Title: [Bug]: Terminal daemon spawns full-table ps scans ~1,000/min on macOS, keeping syspolicyd/EDR busy around the clock · Issue #31783 · stablyai/orca

X Title: [Bug]: Terminal daemon spawns full-table ps scans ~1,000/min on macOS, keeping syspolicyd/EDR busy around the clock · Issue #31783 · stablyai/orca

Description: Operating system macOS Orca version 1.4.237 Details Short summary: The terminal daemon (orca-terminal-host running daemon-entry.js) launches processes continuously, mostly full process-table ps scans. On macOS every launch goes through A...

Open Graph Description: Operating system macOS Orca version 1.4.237 Details Short summary: The terminal daemon (orca-terminal-host running daemon-entry.js) launches processes continuously, mostly full process-table ps sca...

X Description: Operating system macOS Orca version 1.4.237 Details Short summary: The terminal daemon (orca-terminal-host running daemon-entry.js) launches processes continuously, mostly full process-table ps sca...

Opengraph URL: https://github.com/stablyai/orca/issues/31783

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Terminal daemon spawns full-table ps scans ~1,000/min on macOS, keeping syspolicyd/EDR busy around the clock","articleBody":"### Operating system\n\nmacOS\n\n### Orca version\n\n1.4.237\n\n### Details\n\n**Short summary:** The terminal daemon (`orca-terminal-host` running `daemon-entry.js`) launches processes continuously, mostly full process-table `ps` scans. On macOS every launch goes through AppleSystemPolicy/syspolicyd, so the steady rate keeps the security stack busy around the clock and floods the unified log. This is a freshly started daemon, not the stale post-update daemon from #23372.\n\n**Environment**\n\n- macOS 27.0.1 (26A434), Apple silicon, 32 GB\n- Orca 1.4.237, daemon protocol v50, started fresh at boot. `lsof` shows no ShipIt mappings, and there is one \"Malware rejection\" line this boot.\n- Microsoft Defender for Endpoint installed (endpoint security and network extensions), so every exec is also inspected by EDR, as in #12398\n\n**What happened**\n\n1. The kernel logs AppleSystemPolicy lines attributed to the daemon image at about 1,000–1,150 per minute. That rate started within a minute of boot, with 3 live PTY sessions:\n   ```\n   kernel (AppleSystemPolicy) ASP: Unable to apply provenance sandbox: 268451845, 90900, ~/Library/Application Support/orca/daemon-host/macos/terminal-host-\u003chash>/app.noindex/Orca Terminal Host.app/Contents/MacOS/orca-terminal-host\n   kernel (AppleSystemPolicy) ASP: Unable to apply provenance sandbox: 268451845, 90901, ...\n   kernel (AppleSystemPolicy) ASP: Unable to apply provenance sandbox: 268451845, 90902, ...\n   ```\n   The pid increments by one roughly every millisecond within a burst.\n2. During the previous boot, hourly counts of that line ranged from 25,000 to 81,000 between 14:00 and 22:00, which is about 7–22 per second.\n3. syspolicyd logged roughly 150,000 `Unable to initialize qtn_proc` and `dispatch_mig_server returned` errors in a two-hour window of that boot.\n4. Sampling the daemon's children (`pgrep -P \u003cdaemon pid>` in a loop for 10 seconds) found 18 children: 6 were still readable as\n   ```\n   ps -axo pid=,ppid=,pgid=,tpgid=,stat=,tdev=,lstart=,command=\n   ```\n   9 had exited before their arguments could be read, and 3 were the PTY login shells. Sampling misses short-lived processes, so this is a lower bound on the `ps` rate.\n\n**User-visible impact (correlated, not proven causal):** starting and closing sessions gets slower the longer the machine is up, and the daemon log has 9 `shell-ready-timeout` events (15 s) over the past month. The log churn also rotates unified logs fast enough that evidence from previous days is gone.\n\n**How to reproduce**\n\n1. Boot a Mac running macOS 27 and launch Orca 1.4.237 with a few terminals open.\n2. Run `/usr/bin/log stream --predicate 'process == \"kernel\" AND eventMessage CONTAINS \"orca-terminal-host\"'` and watch the rate.\n3. Optionally run `pgrep -P \"$(pgrep -f daemon-entry.js)\"` in a tight loop to see the `ps -axo ...` children.\n\n**Suggestions**\n\n- Lower the polling frequency, or poll only when a session is starting or exiting.\n- Use `libproc` / `sysctl(KERN_PROC)` from the daemon to read process state instead of launching `ps`. That removes the exec, the syspolicyd assessment and the EDR inspection.\n- If polling has to stay, scope it to the daemon's own process groups instead of scanning the whole table with `-ax`.\n\nRelated: #12398 (Helper `ps` polling amplified by EDR, closed), #23372 (stale daemon spawn storm after auto-update).\n","author":{"url":"https://github.com/steveermish","@type":"Person","name":"steveermish"},"datePublished":"2026-10-22T02:37:10Z","url":"https://github.com/stablyai/orca/issues/31783"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f93fbd28-1333-21bc-50b6-bc46fb55fd81
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8A1A:5AF4A:A47AE:D4C6F:6AEBDF20
html-safe-noncee3f40e554bcbd8f0c5afe00084c5857b45f3fd60fc73d4c10ed4cd78d57b7b02
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTFBOjVBRjRBOkE0N0FFOkQ0QzZGOjZBRUJERjIwIiwidmlzaXRvcl9pZCI6IjIxNjE2MTU1MjY3MTY3NTk4NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac518472402755c633141afb71cfea7fc411a68d616568e72e03b2ce1dd3fad993
hovercard-subject-tagissue:5972018343
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stablyai/orca/31783/issue_layout
twitter:imagehttps://opengraph.githubassets.com/434ce525c08b007c95708a6e982baf3d48cebe25d5bd9bdf45e3b9638dcfe0f7/stablyai/orca/issues/31783
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/434ce525c08b007c95708a6e982baf3d48cebe25d5bd9bdf45e3b9638dcfe0f7/stablyai/orca/issues/31783
og:image:altOperating system macOS Orca version 1.4.237 Details Short summary: The terminal daemon (orca-terminal-host running daemon-entry.js) launches processes continuously, mostly full process-table ps sca...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesteveermish
hostnamegithub.com
expected-hostnamegithub.com
None701f7e3aecc56e7594e73fa7b7e1483af74322a67f7038be453d0feb05e86e77
turbo-cache-controlno-preview
go-importgithub.com/stablyai/orca git https://github.com/stablyai/orca.git
octolytics-dimension-user_id127256420
octolytics-dimension-user_loginstablyai
octolytics-dimension-repository_id1183888342
octolytics-dimension-repository_nwostablyai/orca
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1183888342
octolytics-dimension-repository_network_root_nwostablyai/orca
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release12d1048a3491dd63e4193b2937cf72f1c24a2a52
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/stablyai/orca/issues/31783#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstablyai%2Forca%2Fissues%2F31783
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstablyai%2Forca%2Fissues%2F31783
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=stablyai%2Forca
Reloadhttps://github.com/stablyai/orca/issues/31783
Reloadhttps://github.com/stablyai/orca/issues/31783
Reloadhttps://github.com/stablyai/orca/issues/31783
stablyaihttps://github.com/stablyai
orcahttps://github.com/stablyai/orca
Codehttps://github.com/stablyai/orca
Issues4.4k (4.4k)https://github.com/stablyai/orca/issues
Pull requests3.8k (3.8k)https://github.com/stablyai/orca/pulls
Discussionshttps://github.com/stablyai/orca/discussions
Actionshttps://github.com/stablyai/orca/actions
Projectshttps://github.com/stablyai/orca/projects
Security and qualityhttps://github.com/stablyai/orca/security
Insightshttps://github.com/stablyai/orca/pulse
https://github.com/stablyai/orca
New issuehttps://github.com/login?return_to=https://github.com/stablyai/orca/issues/31783
New issuehttps://github.com/login?return_to=https://github.com/stablyai/orca/issues/31783
#35987https://github.com/stablyai/orca/pull/35987
[Bug]: Terminal daemon spawns full-table ps scans ~1,000/min on macOS, keeping syspolicyd/EDR busy around the clockhttps://github.com/stablyai/orca/issues/31783#top
#35987https://github.com/stablyai/orca/pull/35987
os:macosIssues affecting macOShttps://github.com/stablyai/orca/issues?q=state%3Aopen%20label%3A%22os%3Amacos%22
https://github.com/steveermish
steveermishhttps://github.com/steveermish
on Oct 22, 2026https://github.com/stablyai/orca/issues/31783#issue-5972018343
#23372https://github.com/stablyai/orca/issues/23372
[Bug]: Helper's ps/docker polling with phantom Linux PATH entries triggers macOS autofs/opendirectoryd storm (amplified by EDR) #12398https://github.com/stablyai/orca/issues/12398
#12398https://github.com/stablyai/orca/issues/12398
#23372https://github.com/stablyai/orca/issues/23372
github-actionshttps://github.com/apps/github-actions
os:macosIssues affecting macOShttps://github.com/stablyai/orca/issues?q=state%3Aopen%20label%3A%22os%3Amacos%22
on Oct 22, 2026https://github.com/stablyai/orca/issues/31783#event-33908501809
https://github.com/zeronics-jang
zeronics-janghttps://github.com/zeronics-jang
on Oct 24, 2026https://github.com/stablyai/orca/issues/31783#issuecomment-6385970604
#23372https://github.com/stablyai/orca/issues/23372
https://github.com/Jinwoo-H
Jinwoo-Hhttps://github.com/Jinwoo-H
on Oct 25, 2026https://github.com/stablyai/orca/issues/31783#issuecomment-6401936539
https://github.com/Tj3n
Tj3nhttps://github.com/Tj3n
on Oct 26, 2026https://github.com/stablyai/orca/issues/31783#issuecomment-6414605634
[Bug]: Terminal daemon keeps running from deleted ShipIt staging copy after auto-update; syspolicyd kills ~1,000 spawns/min #23372https://github.com/stablyai/orca/issues/23372
[Bug]: Terminal daemon keeps running from deleted ShipIt staging copy after auto-update; syspolicyd kills ~1,000 spawns/min #23372https://github.com/stablyai/orca/issues/23372
https://github.com/zeronics-jang
zeronics-janghttps://github.com/zeronics-jang
on Oct 26, 2026https://github.com/stablyai/orca/issues/31783#issuecomment-6419767952
@Tj3nhttps://github.com/Tj3n
#23372https://github.com/stablyai/orca/issues/23372
nwparkerhttps://github.com/nwparker
on Oct 29, 2026https://github.com/stablyai/orca/issues/31783#event-34604162866
test(terminal): pin the libproc test locale so lstart doesn't follow …https://github.com/stablyai/orca/commit/7ae71b331cd7edab418b1854ede83b660ec5a0ec
7ae71b3https://github.com/stablyai/orca/commit/7ae71b331cd7edab418b1854ede83b660ec5a0ec
nwparkerhttps://github.com/nwparker
completedhttps://github.com/stablyai/orca/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#35987https://github.com/stablyai/orca/pull/35987
on Oct 29, 2026https://github.com/stablyai/orca/issues/31783#event-34610934060
nwparkerhttps://github.com/nwparker
on Oct 29, 2026https://github.com/stablyai/orca/issues/31783#event-34610934405
perf(terminal): read the macOS process table in process instead of fo…https://github.com/stablyai/orca/commit/525719789f49b4a969d77fe01d72c4f958368c8b
5257197https://github.com/stablyai/orca/commit/525719789f49b4a969d77fe01d72c4f958368c8b
perf(terminal): bound the in-process macOS process table's blocking c…https://github.com/stablyai/orca/commit/756d6239551f042d2bd7d240771941253ceea63a
756d623https://github.com/stablyai/orca/commit/756d6239551f042d2bd7d240771941253ceea63a
Sign up for freehttps://github.com/signup?return_to=https://github.com/stablyai/orca/issues/31783
Sign in to commenthttps://github.com/login?return_to=https://github.com/stablyai/orca/issues/31783
os:macosIssues affecting macOShttps://github.com/stablyai/orca/issues?q=state%3Aopen%20label%3A%22os%3Amacos%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.