3 ms·
> 1. With NetBSD, I can run out of memory with no major problems. Could you elaborate a bit more on that, please ? It's been a while since I last touched NetB
by znpy 6y ago
> 1. With NetBSD, I can run out of memory with no major problems.
Could you elaborate a bit more on that, please ?
It's been a while since I last touched NetBSD, but I don't remember anything special regarding that aspect.
- 1vuio0pswjnm7 6y agoI disable swap. If I run out of RAM, thrashing may occur but it is not fatal. Some process that needs to write to "disk" might fail, but the system does not. I just delete some file(s) to free up the needed RAM, restart the process and continue working. I don't think NetBSD has anything like "OOM killer". Note that one drawback with "disk-less" via read-only SD card or USB stick is how to have a good source of entropy at boot time.
- knorker 6y agoThe OOM killer makes running out of memory on Linux not fun. I've found that turning of overcommit avoids this problem. Then again, I've seen BSDs handle it even worse.
- 1vuio0pswjnm7 6y ago"I've found that turning of overcommit avoids this problem." ("tuning of" or "turning off") Do you mean something like sysctl vm.overcommit_memory=2