On Friday, February 21st, 2025 at 10:57 PM, Greg Troxel <g...@lexort.com> wrote:
> pin void...@protonmail.com writes: [...] > > > ~> sysctl hw.machine_arch hw.ncpu hw.usermem64 kern.sbmax kern.somaxkva > > kern.argmax > > hw.machine_arch = x86_64 > > hw.ncpu = 4 > > hw.usermem64 = 9805316096 > > kern.sbmax = 262144 > > kern.somaxkva = 16777216 > > kern.argmax = 262144 > > > > It's 2025 ... these are too small. What can we do about it? They causes > > trouble. > > > > Bump to: > > kern.sbmax = 64Mb > > kern.somaxkva = 64Mb > > kern.argmax = 1Mb > > > It's not really about what year it is. It's about what the system RAM > size is. Ok but, what I wanted to say with that was what you wrote below. > (I fully agree that on a large-memory machine the limits should be > higher.) On amd64, the limits are unnecessarily small. I have 10Gb of RAM (it's not maxed out) and my laptop is from 2014. Would it be possible to make these limits arch dependent? /Pedro