aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/ibm_rtl.c
diff options
context:
space:
mode:
authorTim Gardner <[email protected]>2011-05-25 00:13:05 +0000
committerLinus Torvalds <[email protected]>2011-05-25 15:39:43 +0000
commit0ac1ee0bfec2a4ad118f907ce586d0dfd8db7641 (patch)
tree630d3fead5040b26bfdb1328a18fc0ad3b09f88b /drivers/platform/x86/ibm_rtl.c
parentum: fix crash while os_dump_core() (diff)
downloadkernel-0ac1ee0bfec2a4ad118f907ce586d0dfd8db7641.tar.gz
kernel-0ac1ee0bfec2a4ad118f907ce586d0dfd8db7641.zip
ulimit: raise default hard ulimit on number of files to 4096
Apps are increasingly using more than 1024 file descriptors. See discussion in several distro bug trackers, e.g. BugLink: http://bugs.launchpad.net/bugs/663090 https://issues.rpath.com/browse/RPL-2054 You don't want to raise the default soft limit, since that might break apps that use select(), but it's safe to raise the default hard limit; that way, apps that know they need lots of file descriptors can raise their soft limit without needing root, and without user intervention. Ubuntu is doing this with a kernel change because they have a policy of not changing kernel defaults in userland. While 4096 might not be enough for *all* apps, it seems to be plenty for the apps I've seen lately that are unhappy with 1024. Signed-off-by: Tim Gardner <[email protected]> Cc: Dan Kegel <[email protected]> Cc: Al Viro <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/platform/x86/ibm_rtl.c')
0 files changed, 0 insertions, 0 deletions