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
Host fseventsd grows to tens of GB under device churn and drives swap; surface it in load/doctor #1618
On a long-running worker host (Mac Studio M-series, 36 GiB, macOS 15.7.4, simlock 0.6.0 → 0.7.0, about 7–10 iOS simulators and 3–4 Android emulators under constant lease churn), swap grew from ~1 GiB to 9.9 of 11 GiB over about a week. The farm lowered capacity and a monitor rolled back a capacity trial, but simlock's own processes weren't the cause:
Process
Memory (top)
Compressed
fseventsd (macOS)
28 GB
20 GB
launchservicesd (macOS)
3.4 GB
3.4 GB
3 × Android emulator
~2.5 GB each
mostly
simlock worker
normal
fseventsd had been up since the boot 34 days earlier, with 51 h of CPU time. A restart brought it to 3.5 MB and swap to 0. Nothing else changed.
Suspected trigger (not proven)
Every lease creates or erases simulator data, installs an app, and writes emulator overlays. That is a constant stream of file-system events, which fseventsd seems to keep in memory and never release. The leak itself is a macOS bug; this issue is about making it visible and avoidable on simlock hosts.
Suggestions
Show host-level memory hogs in worker load readings and doctor: the RSS of fseventsd and launchservicesd, plus swap. Today the gateway shows swap but not what is behind it, so it looks like the farm itself is too heavy.
Document the remedy: drain, restart the host (or sudo killall fseventsd), undrain.
Possibly: keep device sets and emulator data on a dedicated APFS volume with .fseventsd/no_log, so the churn never reaches fseventsd. This is untested.
Activity
V3RON commentedon Nov 18, 2026
Being specified in #1733. This issue stays open until that feature ships.
Written by an agent.
docs(adr): 0088 a macOS worker checks fseventsd when doctor runs (#1733…
github-actions commentedon Nov 18, 2026
Shipped as #1733.