Are you trying to browse the internet using Safari, but are you getting the error message 'too many open files'?
Safari is a web browser that was developed by Apple Inc. It was released on January 7, 2003 for Mac OS X and it has been available on various other operating systems such as iOS, Android, Windows and Linux.
Connect with the Expert via email, text or phone. Include photos, documents, and more. Get step-by-step instructions from verified Tech Support Specialists.
On this page, you will find more information about the most common causes and most relevant solutions for the Safari error 'too many open files'. Do you need help straight away? Visit our support page.
Connect with the Expert via email, text or phone. Include photos, documents, and more. Get step-by-step instructions from verified Tech Support Specialists.
The default homepage of Safari is your browser’s home page or your personal website. You can set up different pages as your homepage in Safari. However, if you encounter a Safari error that says “too many open files” then you might have a problem with the page that you are trying to visit. This error can occur when you try to visit certain websites or when you try to download a specific file from the internet.
The problem can be caused by an issue with your computer or it can be caused by a virus or malware on your computer. Sometimes, problems with the internet connection of your computer can prevent you from accessing certain websites properly. To fix this error, you need to try a few solutions.
First of all, you might be experiencing this error when you are using Safari on your Mac or when you are trying to use Safari on another operating system.
Do note that some of you may need UNIX tools and/or Xcode installed in order for the application to work. Before you change the restriction, you must disable SIP. If you want to disable this mechanism, you must first restart your Mac, and hold down command-r until the startup chime sounds, and then the Apple logo appears.
When your Mac boots into recovery mode, click on the top menu bar and select Terminal. In Terminal, issue this command:
csrutil disable
Then, reboot your device and log in normally.
Once you have logged in, you should once again open the terminal. When you enter a terminal, type the following command:
sudo nano /Library/LaunchDaemons/limit.maxfiles.plist
Copy and paste the following text into the text editor that you are using in your Terminal window. If you are prompted, give your password to access your account.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>limit.maxfiles</string>
<key>ProgramArguments</key>
<array>
<string>launchctl</string>
<string>limit</string>
<string>maxfiles</string>
<string>64000</string>
<string>524288</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceIPC</key>
<false/>
</dict>
</plist>
Now we can create a similar file, in order to increase the amount of processes that we can run. While you are still in the terminal, type this command:
sudo nano /Library/LaunchDaemons/limit.maxproc.plist
Copy and paste the contents of the file into the file just like you did previously with maxfiles.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple/DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>limit.maxproc</string>
<key>ProgramArguments</key>
<array>
<string>launchctl</string>
<string>limit</string>
<string>maxproc</string>
<string>2048</string>
<string>4096</string>
</array>
<key>RunAtLoad</key>
<true />
<key>ServiceIPC</key>
<false />
</dict>
</plist>
Then, press control X and turn the SIP back on.
Lastly, another solution you can try is to contact the Customer Service to solve this error. You can try contacting them through their customer support number or their website.