Skip to content
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

frigate: enabling frigate module causes *excessive* eval RAM usage (and OOMs) #341424

Closed
colemickens opened this issue Sep 12, 2024 · 2 comments
Closed
Labels
0.kind: bug Something is broken

Comments

@colemickens
Copy link
Member

Describe the bug

A clear and concise description of what the bug is.

Steps To Reproduce

I apply this diff to one of my NixOS hosts (an aarch64-multiplatform being cross-compiled on x86_64-linux), then try to eval it:

{
  config = {
    # ...
    services.frigate.enable = true;
    services.frigate.hostname = "frigate.mickens.us";
    # ...
  };
}

But it eats up ~18GB+ of RAM (hard to say with zram, etc), and eventually OOMs.

This is on top of: 1355a0cb (current nixos-unstable)

Not sure if there's some other nginx setup that's needed, but if so, there should probably be some asserts or something. Anyway, this is quite odd. Can't say I've ever seen anything quite like this.

cc: @mweinelt


Add a 👍 reaction to issues you find important.

@colemickens colemickens added the 0.kind: bug Something is broken label Sep 12, 2024
@mweinelt
Copy link
Member

mweinelt commented Sep 12, 2024

Likely a duplicate of #338231, which affects cross python.

@colemickens
Copy link
Member Author

Wow thanks @mweinelt ! Closing and tracking that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

2 participants