Current-Users archive

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

Re: socketpair buffer limits?



wiz%NetBSD.org@localhost (Thomas Klausner) writes:

>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?

# kernel limit for socket buffers
sysctl: kern.sbmax

# process limit for socket buffers
rlimit: sbsize

also

# kernel limit for all socket buffers
sysctl: kern.somaxkva



Home | Main Index | Thread Index | Old Index