Hi,

On Wed, Jan 4, 2012 at 2:50 PM, Dan The Man <d...@sunsaturn.com> wrote:
[...]
> How about a sensible solution? I think everyone has been making valid points
> here, about sensible limits for all programs on system and per application
> limit changes.
>
> How about changing the hard limit high, and an application can make the soft
> limit higher as it sees fit, its a win win, like ulimit does with openfiles
> and such.

Looking at the code, it seems that there is no reason we can't make
this u_short be u_int and just change the limit to U_INTMAX.  The
biggest problem that one would hit here is that changes the binary
interface of both struct xsocket and struct socket consumers.

Cheers,
-- 
Xin LI <delp...@delphij.net> https://www.delphij.net/
FreeBSD - The Power to Serve! Live free or die
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to