Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2002 21:11:41 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        "Balaji, Pavan" <pavan.balaji@intel.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Increasing socket buffer size!
Message-ID:  <20020810021141.GD7599@dan.emsphone.com>
In-Reply-To: <3D386AED1B47D411A94300508B11F18704AD69AA@fmsmsx116.fm.intel.com>
References:  <3D386AED1B47D411A94300508B11F18704AD69AA@fmsmsx116.fm.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 09), Balaji, Pavan said:
> I was wondering how I can increase the socket buffer size to huge
> values. setsockopt() allows us to increase till a certain extent, but
> after that it fails mainly because of some per process restriction of
> the buffer size. Can I do something about this?

You are limited first by the per-process limit "sbsize" (adjustable
with setrlmit() ), and second by the global sysctl kern.ipc.maxsockbuf.

-- 
	Dan Nelson
	dnelson@allantgroup.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020810021141.GD7599>