Ubuntu 11.04 Kernel Configurations

Tim Gardner tim.gardner at canonical.com
Sat Mar 26 01:05:00 UTC 2011


On 03/25/2011 05:49 PM, Scott Ritchie wrote:
> On 03/24/2011 11:09 AM, Leann Ogasawara wrote:
>> Hi All,
>>
>> With the Ubuntu 11.04 Beta-1 release approaching, the Ubuntu Kernel Team
>> felt this would also be an appropriate time to advertise what we intend
>> to be the final kernel configurations for all the main distro and ports
>> kernel flavors.  The purpose is to expose the main configuration changes
>> and provide pointers to the full configurations for those who are
>> interested.  To aid in the comparison of kernel config changes from
>> Ubuntu 10.10 (Maverick) to Ubuntu 11.04 (Natty) we have generated a
>> delta report [1].  We have also posted the full Ubuntu 10.10 and Ubuntu
>> 11.04 configurations for each flavor [2].
>>
>> Thanks,
>> The Ubuntu Kernel Team
>>
>> [1] https://wiki.ubuntu.com/Kernel/Configs/MaverickToNatty
>> [2] http://kernel.ubuntu.com/~kernel-ppa/configs
>>
>>
>
> Perhaps this is an appropriate time to ask, since I've been trying to
> ask for months now in mailing list/IRC but never apparently to the right
> person...
>
> Can the kernel team please raise the hard limit for file descriptors
> (but keep the soft limit)?
>
> https://bugs.launchpad.net/bugs/663090
>
> I'm having real applications break from this, and the change shouldn't
> affect any app that doesn't request it manually.
>
> Thanks,
> Scott Ritchie
>

The initial hard limit value is not a CONFIG option, so the only way it 
can be changed is by carrying a patch in the kernel, something I would 
prefer not to do. This is the macro that initializes the hard limit:

include/linux/fs.h:#define INR_OPEN 1024                /* Initial 
setting for nfile rlimits */

What is the issue with having upstart set this limit early in the boot 
cycle? Won't all new processes inherit the modified limit?

rtg
-- 
Tim Gardner tim.gardner at canonical.com



More information about the ubuntu-devel mailing list