Repository: brooklyn-docs Updated Branches: refs/heads/master 4a1da8224 -> 4c4102703
Advise users to increase OS opened files limit Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/d3e339d7 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/d3e339d7 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/d3e339d7 Branch: refs/heads/master Commit: d3e339d7c5fcb3ef52bbd4096bb994a3c2aeb4d9 Parents: 4a1da82 Author: Valentin Aitken <[email protected]> Authored: Wed Jun 7 16:45:43 2017 +0300 Committer: Valentin Aitken <[email protected]> Committed: Wed Jun 7 17:48:06 2017 +0300 ---------------------------------------------------------------------- .../troubleshooting/increase-system-resource-limits.md | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/d3e339d7/guide/ops/troubleshooting/increase-system-resource-limits.md ---------------------------------------------------------------------- diff --git a/guide/ops/troubleshooting/increase-system-resource-limits.md b/guide/ops/troubleshooting/increase-system-resource-limits.md index 8173906..8ef721b 100644 --- a/guide/ops/troubleshooting/increase-system-resource-limits.md +++ b/guide/ops/troubleshooting/increase-system-resource-limits.md @@ -4,6 +4,16 @@ title: Increase System Resource Limits toc: /guide/toc.json --- +If you encounter the following error: + + Caused by: java.io.IOException: Too many open files + at java.io.UnixFileSystem.createFileExclusively(Native Method)[:1.8.0 + +Please check the limit for opened files `cat /proc/sys/fs/file-max` and increase it. +You can increase the maximum limit of opened files by setting `fs.file-max` in `/etc/sysctl.conf`. +and then running `sudo sysctl -p` to apply the changes. + + If you encounter the error below, e.g. when running with many entities, please consider **increasing the ulimit**: java.lang.OutOfMemoryError: unable to create new native thread
