-
-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes syspolicyd
completely freezes my Mac
#1307
Comments
Are you using any kernel extensions? |
I don't even know what kernel extensions are :D But I'm not using anything crazy. |
Do you have |
Yes, here is my config: nix.gc = {
automatic = true;
interval = [
{
Hour = 10;
Minute = 0;
Weekday = 1;
}
];
options = "--delete-older-than 6d";
};
nix.optimise = {
automatic = true;
interval = [
{
Hour = 10;
Minute = 0;
Weekday = 2;
}
];
}; Thank you for helping with that! |
So it seems like it matches |
I found an old screenshot with the same problem that occurred on Nov 4, 2024 (Monday) at 10:21 and based on my config on Monday |
Hi,
I experience a complete freeze on my macOS from time to time. It started happening when I installed nix-darwin, a couple of months ago.
I managed to pin down the issue (because sometimes I've got still time before the complete freeze) and it turns out that most likely
syspolicyd
process is causing that. It starts using a lot of CPU, I manged to show details and I see that it opens/nix/store/.links
. When everything is normal, this file is not on the list.Any idea what could be causing that? And more important how to fix it?
As it happens from time to time, maybe it's related to garbage collecting/hard links optimization?
I have to hard reset my computer every time it happens (by holding the power button).
My config:
MacBook Pro M1 Pro, 2021, 16GB RAM
macOS Sequoia 15.3 (I experienced it on previous versions as well).
The text was updated successfully, but these errors were encountered: