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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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..