how to increase ulimit -n (file descriptors limit)

123 views
Skip to first unread message

dmol...@gmail.com

unread,
Oct 1, 2014, 5:02:06 AM10/1/14
to vcap...@cloudfoundry.org
Hi there,

I am trying to find out what the ulimit -n (file descriptors limit) is for the CloudFoundry container and how to increase this if necessary. Any help would be much appreciated!

Cheers

Daniel

Daniel Mikusa

unread,
Oct 1, 2014, 9:11:12 AM10/1/14
to vcap...@cloudfoundry.org
On Wed, Oct 1, 2014 at 5:02 AM, <dmol...@gmail.com> wrote:
Hi there,

I am trying to find out what the ulimit -n (file descriptors limit) is for the CloudFoundry container and how to increase this if necessary. Any help would be much appreciated!

Last time I checked I believe it was 16384.  I'm not sure where this is at in the code / how it's set (if someone knows, I'd be interested too), but it's easy enough to test.  Just push an app and dump the results of running "ulimit -n".

Dan

dmol...@gmail.com

unread,
Oct 1, 2014, 10:34:17 AM10/1/14
to vcap...@cloudfoundry.org, dmi...@pivotal.io
Thank Dan, I just did what you suggested and it showed 16384 indeed. That should be enough for my purposes..

Cheers

Daniel
Reply all
Reply to author
Forward
0 new messages