| 25 Feb 2025 |
shawn8901 | In reply to @hacker1024:matrix.org There are only two places where nix-eval-jobs uses stoi. Have you set evaluator_workers or evaluator_max_memory_size in your Hydra configuration? Yeah, I am limiting that. So stoi = out of memory? | 06:25:39 |
hacker1024 | No, stoi is a function that parses an integer. What is the exact contents of that part of your config? | 06:26:39 |
shawn8901 | evaluator_max_memory_size = ${toString (4 * 1024 * 1024 * 1024)} which was totally fine previously | 06:27:35 |
shawn8901 | And I am setting evaluator_workers = 2 | 06:28:15 |
hacker1024 | Hmm yeah that does seem fine | 06:28:30 |
hacker1024 | Still maybe try without it for a bit and see if that helps? | 06:28:42 |
hacker1024 | Wait that size is in mb though? You're allocating 4EB | 06:29:20 |
hacker1024 | * Wait that size is in mb though? You're allocating 4PB | 06:29:39 |
hacker1024 | That's also 2x the signed integer limit | 06:30:53 |
shawn8901 | Is it? It should be 4g, at least that was where it limited before | 06:31:04 |
shawn8901 | Yeah maybe that is then where it's choking | 06:31:31 |
shawn8901 | I'll try it out when I am back at home, I just did not expect to break in such a way between a bump of Less then 2 weeks 😅 | 06:32:14 |
hacker1024 | The unit is definitely mb now, and I'm pretty sure it always has been 👀
https://github.com/nix-community/nix-eval-jobs/blob/4b392b284877d203ae262e16af269f702df036bc/src/eval-args.cc#L59 | 06:32:31 |
hacker1024 | So you'd just want 4096 | 06:32:41 |
shawn8901 | Hum, the. Old hydra did not cry about it | 06:32:56 |
shawn8901 | The value is unchanged for 8month in my config | 06:33:27 |
shawn8901 | I'll check that out and report later, thank you very much for your help! | 06:33:49 |
hacker1024 | No problem | 06:33:56 |