The default file descriptor limit (ulimit -n 1024) is too low
Nathan Stratton Treadway
ubuntu.lists at nathanst.com
Tue Sep 28 16:53:41 BST 2010
On Mon, Sep 27, 2010 at 22:14:20 -0700, Evan Martin wrote:
> On Mon, Sep 27, 2010 at 9:47 PM, Scott Ritchie <scott at open-vote.org> wrote:
> > I hadn't considered that use case, but it definitely sounds like a
> > desktop application that might have a problem too.
> >
> > The specific app in question was Visual Studio running via Wine and
> > compiling a large project. On 4 cores it stayed under the limit, on 8
> > it would compile more in parallel at once and hit the limit. According
> > to AppDB, it seems that Quicken runs into the same problem.
>
> Speaking of compilers, gold
> (http://packages.ubuntu.com/lucid/binutils-gold) is another (native)
> example of a performance-intensive multithreaded app. I have seen it
> hit this 1024 cap while linking a large code base (Chromium) when
For what it's worth, there was a recent Launchpad bug opened on this
topic against the OpenLDAP daemon:
"slapd Too many open files"
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/632314
(It seems that setting the ulimit in /etc/default/slapd has fixed the
problem in this case.)
Nathan
More information about the ubuntu-devel
mailing list