The default file descriptor limit (ulimit -n 1024) is too low

Scott Ritchie scott at
Mon Sep 20 11:21:29 BST 2010

Would there be any harm in raising this?

I ask because I've seen a real world application hit this limit.  The
application in question is multithreaded and opens separate threads and
files to work on for each core; on a 4 core machine it stays under the
limit, while on an 8 core machine it hits it and runs into strange errors.

I feel that, as we get more and more cores on machines applications like
this are going to increasingly be a problem with a ulimit of only 1024.

Scott Ritchie

More information about the ubuntu-devel mailing list