!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

218 Members
69 Servers

Load older messages


SenderMessageTime
27 Oct 2024
@emilazy:matrix.orgemilyso, it won't cause any memory increase out of the box to set it to 122880.23:43:53
@emilazy:matrix.orgemilytherefore it seems fine, the only risk is processes using up all of them which would be a whopping 600 KiB.23:44:43
@emilazy:matrix.orgemilyso I'll just do that.23:44:48
@emilazy:matrix.orgemily reno: you have a macOS 11 VM, right? what's kern.maxfilesperproc there? 23:47:44
@emilazy:matrix.orgemilyit turns out that it's 10240 on 10.12 so we probably can't go above that for now >:(23:47:55
@artturin:matrix.orgArtturinWhat happens when you set it above the max23:48:23
@emilazy:matrix.orgemilyit fails.23:48:30
@paparodeo:matrix.org@paparodeo:matrix.org
In reply to @emilazy:matrix.org
it turns out that it's 10240 on 10.12 so we probably can't go above that for now >:(
kern.maxfilesperproc: 98304
23:48:33
@emilazy:matrix.orgemilyand I don't want to implement conditional logic.23:48:36
@emilazy:matrix.orgemily
In reply to @paparodeo:matrix.org
kern.maxfilesperproc: 98304
wow they really just keep bumping it up
23:48:43
@emilazy:matrix.orgemilyok I'll put it at 10240 for now.23:48:49
@emilazy:matrix.orgemilyridiculous number.23:48:53
@artturin:matrix.orgArtturin ulimit || ulimit || ulimit 23:49:09
@emilazy:matrix.orgemilythey could at last have made it 1638423:49:14
@emilazy:matrix.orgemily
In reply to @artturin:matrix.org
ulimit || ulimit || ulimit
yeah. but otoh nothing in the tree sets it above 8196.
23:49:23
@emilazy:matrix.orgemilyso it doesn't seem worth it. I can bump it as a treat to myself every time I bump the minimum macOS version.23:49:35
@artturin:matrix.orgArtturinhttps://github.com/LnL7/nix-darwin/blob/5c0c6aaa797d6ccbb6cdab14de0248135735709d/modules/services/nix-daemon.nix#L5123:52:35
@artturin:matrix.orgArtturinnix-darwin has 104857623:52:40
@artturin:matrix.orgArtturinWonder if it's applying for them23:53:05
@emilazy:matrix.orgemilyhttps://github.com/LnL7/nix-darwin/commit/ec06ea883757c6075c61d1426f40719742d51f5923:53:24
@emilazy:matrix.orgemilywas just copied from Nix23:53:31
@emilazy:matrix.orgemily you definitely can't go above kern.maxfilesperproc so my expectation is that it's either doing nothing or getting silently capped 23:54:01
@emilazy:matrix.orgemilyand apparently not passing down to builds anyway(?)23:54:10
28 Oct 2024
@artturin:matrix.orgArtturinCommented https://github.com/LnL7/nix-darwin/pull/940/files#r181822049400:02:36
@emilazy:matrix.orgemilywe basically just aim to match the upstream plist there00:03:52
@emilazy:matrix.orgemilyso probably it's an issue for Nix primarily00:04:06
@artturin:matrix.orgArtturinEdited my comment00:05:41
@artturin:matrix.orgArtturinIt did not work before https://github.com/NixOS/nix/pull/6645 as shown by issue https://github.com/NixOS/nix/issues/655700:05:43
@emilazy:matrix.orgemilyhttps://github.com/NixOS/nixpkgs/pull/35178300:05:57
@emilazy:matrix.orgemily
In reply to @artturin:matrix.org
It did not work before https://github.com/NixOS/nix/pull/6645 as shown by issue https://github.com/NixOS/nix/issues/6557
ah, okay. wasn't sure on the relative timing
00:06:08

Show newer messages


Back to Room ListRoom Version: 9