From 1f5c3b6f3afe0676e83a9c2d9a710088c6b97a55 Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Mon, 30 May 2022 12:38:01 +0200 Subject: [PATCH] add docs for macOS ulimits --- docs/ocis/getting-started/_index.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/ocis/getting-started/_index.md b/docs/ocis/getting-started/_index.md index aa60e05baf9..45cef41ef74 100644 --- a/docs/ocis/getting-started/_index.md +++ b/docs/ocis/getting-started/_index.md @@ -59,6 +59,13 @@ When you're using oCIS with self-signed certificates, you need to answer the the oCIS by default relies on Multicast DNS (mDNS), usually via avahi-daemon. If your system has a firewall, make sure mDNS is allowed in your active zone. {{< /hint >}} +{{< hint warning >}} + +#### Open Files on macOS + +The start command `./ocis server` starts a runtime which runs all oCIS services in one process. On MacOS we have very low limits for open files. oCIS needs more than the default 256. Please raise the limit to 1024 by typing `ulimit -n 1024` within the same cli session where you start ocis from. +{{< /hint >}} + ### Docker Docker images for oCIS are available on [Docker Hub](https://hub.docker.com/r/owncloud/ocis).