5 ms·
There seems to be a fairly low memory limit on processes, so when I tried to run a Minecraft server on my OpenBSD system, it complained about not having enough
by seanw444 4y ago
There seems to be a fairly low memory limit on processes, so when I tried to run a Minecraft server on my OpenBSD system, it complained about not having enough memory to start. Turns out the value seems to be hardcoded and compiled into the kernel. So... I'm not really sure how to run high-memory processes at this point, without self-compiling it in its entirety, which I don't really feel like doing.
- t-3 4y agoThe limits are set in login.conf, it's not hardcoded.
- seanw444 4y agoTried that. There's still a limit on top of that.
- daneel_w 4y agoThat limit is 32 GiB. Hard to call it "fairly low". If you encountered a lower limit then it's something you can tune in login.conf.
- kouteiheika 4y agoDepends on what you do; I routinely use double that, and for me even my 64GB starts to be limiting.
- tolciho 4y agoEight gigs was the least amount of memory I could buy this laptop with, and I'm using... 237M even with a few amfora and w3m running. Compiles will take more, but I stopped compiling horrible things like Firefox or Chromium years ago.
- smabie 4y ago32gb seems pretty low? pretty routine in a lot of different domains to have processes using 10s/100s of gbs
- daneel_w 4y agoIt's not pretty low, or objectively low, but it can be considered relatively low. The average amount of RAM in desktops and laptops is still <32 GiB. From this perspective it's a very high limit.
- __turbobrew__ 4y agoMany servers have over 32 GiB of RAM.
- daneel_w 4y agoGet outta here, man. No way.
- seanw444 4y agoI routinely work with one with 256 GiB of RAM.
- prmoustache 4y agoAnd you use that one to run minecraft servers. Riiiight.
- seanw444 4y agoI didn't say that?
- nequo 4y agoParent was being sarcastic. It kind of makes sense to expect 32 GB to fit every process on a desktop. But is that the main use case of OpenBSD? It would seem that the main use case would lean towards servers instead?
- deleted 4y ago[deleted]
- xxpor 4y agoIt's relatively straight forward to recompile the kernel. Especially compared to Linux. https://man.openbsd.org/release#2._Build_and_install_a_new_kernel https://man.openbsd.org/release#2._Build_and_install_a_new_k...