Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: socketpair buffer limits?



pin <voidpin%protonmail.com@localhost> 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.

(I fully agree that on a large-memory machine the limits should be
higher.)


Home | Main Index | Thread Index | Old Index