On Tue, Aug 17, 2010 at 02:37:09PM -0400, Eric Paris wrote:
> ideally, when an application that cares about this is installed,
> increase it via sysctl.conf
> That default isn't a one size fits all. Regardless of what we set it to,
> someone is going to want it smaller/bigger.
I think we want to be very careful how much we suggest $random-package
muck with sysctl. Ubuntu got a black eye since wine automatically
changed mmap_min_addr if it was installed. It's not always clear what
the implications of a change include. How many people on this list (the
kernel list) would have guessed that the suggestion here would allow
5-10 users completely DoS a 32 machine?
Rex, if you do decide to change it in sysctl lets try to keep it within
a factor of 10 or so? You might want to ask the upstream kernel
community what they think.
It's unfortunate that we have no way to determine at install time
"this is going to be a multiuser machine"
There are probably a bunch of other changes that a standalone desktop machine
could make knowing that.