4 ms·
There's a global limit on the number of sandbox extensions (security scoped bookmarks) open at once. If it fails that's because someone is leaking them.
by astrange 2y ago
There's a global limit on the number of sandbox extensions (security scoped bookmarks) open at once. If it fails that's because someone is leaking them.
- saagarjha 2y agoHitting the sandbox extension limit is not necessarily a leak. There are a number of apps that deal with thousands of files at once and they will very quickly hit the limits. It's a perennial problem with anyone who makes professional, but sandboxed, software for macOS.
- astrange 2y agoYes, I should've said "can be". They are definitely difficult to manage. It doesn't help that people like to pass file paths or URLs across IPC and don't think of eg sending file descriptors over directly. Hmm, who needs thousands of files at once (as opposed to serially)?
- newaccount74 2y agoInteresting. Maybe that's one of the reasons. I think there are multiple root causes. Another common issue I see is "failed to get app specific key"