Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: socketpair buffer limits?
On Friday, February 21st, 2025 at 5:09 PM, Thomas Klausner <wiz%NetBSD.org@localhost> wrote:
> Hi!
>
> On my machine, the attached program (which sets the send and receive
> buffers for a socketpair() to 1MB each) works, on pin@'s it doesn't.
>
> Which limits restrict this?
> Thomas
This is indeed the case ...
~> uname -a
NetBSD mybox 10.99.12 NetBSD 10.99.12 (GENERIC) #0: Wed Feb 12 05:15:39 UTC 2025 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
The program work with:
64 * 1024
128 * 1024
and fails with 256 * 1024
/Pedro
Home |
Main Index |
Thread Index |
Old Index