[DOCU-623] Warn that install of Magnolia can fail on MacBooks if the open file limit is not set Created: 19/Oct/15  Updated: 26/Nov/15  Resolved: 05/Nov/15

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Critical
Reporter: Philipp Bärfuss Assignee: Antti Hietala
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
documentation
documents MAGNOLIA-6420 Magnolia hangs upon fresh installatio... Closed
relation
is related to MGNLCE-7 Stop the installation if the open-fil... Closed
is related to MGNLEE-414 Stop the installation if the open-fil... Closed

 Description   

To avoid that user run into MAGNOLIA-6420



 Comments   
Comment by Antti Hietala [ 19/Oct/15 ]

Added OS X specific instructions in Too many open files.

We already had prior instructions for Ubuntu where this issue may also occur.

Comment by Milan Divilek [ 21/Oct/15 ]

Mac OSX Step 2

2. Run the following commands in a terminal:
sudo sysctl -w kern.maxfiles=65536
sudo sysctl -w kern.maxfilesperproc=65536

Problem with the step is that upon the next reboot the kern.maxfiles will go back to the default value. To set it permanently it needs to be added to /etc/sysctl.conf. /etc/sysctl.conf doesn't exist by default. So if it doesn't exist then just create it. Then add desired settings to it, for example:

kern.maxfiles=65536
kern.maxfilesperproc=65536
Comment by Antti Hietala [ 21/Oct/15 ]

Added steps to set the kernel limit.

Comment by Antti Hietala [ 05/Nov/15 ]

Reopened. I got the open files warning upon installation even though I have done the steps documented in Too many open files. I'm running Macbook Air with OS X El Capitan 10.11.1.

We need to either document different steps for each OS X version or link to some canonical source for resolving this issue such as the Stack Exchange answer.

Generated at Mon Feb 12 01:10:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.