Skip to main content
Participant
May 7, 2012
질문

"Unable to set maximum number of files to be opened" in CS6 trial, CS5 runs fine

  • May 7, 2012
  • 9 답변들
  • 64077 조회

Trying to start up the CS6 trial on a mac running OS X 10.7.3, I get the following message: "Unable to set maximum number of files to be opened."  After clicking "OK" on that dialog, Illustrator quits.  Illustrator CS5 runs perfectly, as does Photoshop CS6 trial.

Searching for this error showed other people having this on much earlier versions of Illustrator as a result of their maxfiles limit being set too low.  The suggested fix was removing /etc/launchctl.conf to unset the limit.

Running `launchctl limit` show my maxfiles hard and soft limits are 10,000.  I do not have an /etc/launchctl.conf file, and running `mdfind launchctl` doesn't show any other config files with that name sitting elsewhere (like in /private).  Finally, I've run Repair Disk Permissions.

If anyone has ideas on what I can do to get Illustrator running on my computer, I'd appreciate it.

이 주제는 답변이 닫혔습니다.

9 답변

Participant
October 30, 2020

I had the same problem at the High Sierra. I deleted Anydesk and everything was fine!

Participant
January 2, 2024

Your message is mostly clear, but there are a few grammatical errors and some awkward phrasing. Here's a revised version:

"To those poor souls still facing this issue on High Sierra:

Check the folder /Library/LaunchDaemons/.

In my case, I had /Library/LaunchDaemons/limit.maxfiles.plist (the name could be different), which contains the maxfile limits option. You should allow Illustrator to set this parameter by itself. Delete the file or change it to unlimited and restart macOS.

Execute this command: launchctl limit maxfiles

To make Illustrator work again, you need to have this output:

maxfiles 256 unlimited

Participant
March 11, 2014

Just open the terminal and run the following string:

sudo sysctl -w kern.maxfiles=15000

It will simply raise de number of maxfiles and illustrator will open without any other additional script or anything else.

Participant
March 19, 2015

That still does't work on Yosemite

$ sudo sysctl -w kern.maxfiles=15000

kern.maxfiles: 65536 -> 15000

$ sudo open /Applications/Adobe\ Illustrator\ CS6/Adobe\ Illustrator.app

I had to do this: Open Files Limit for another situation I encountered

Participant
July 30, 2012

Such a frustrating error...

I've just run repair disk permissions and restarted my iMac and hey presto the Illustrator is working without issue.

Previously tried the Adobe official solution which would get it started but there were some odd side affects on the interface.

Hopefully this might help some of you.

Participant
July 30, 2012

After a day of stability, my Ai started acting up again.

Unfortunately, repairing permissions doesn't seem to be the solution either. I've done that numerous times (redundantly) both with Disk Utility, and Onyx, and neither helped.

I didn't try booting into the recovery partition, and running Disk Utility from there; but I doubt that that will help.

Not that I really 'understand' these things, but considering that Adobe suggests editing launchd.conf (for those who have it), I thought that this whole thing may have something to do with messed up 'launch daemons', or 'launch agents'. I went rummaging through all of my Library folders today (system, root, user) looking inside .plist files that might be relevant, but couldn't find anything related to Ai.

If there are any *nix-savvy folks out there—does any of this ring a bell?

Participant
May 23, 2012

I really really really REALLY hope that Adobe is paying attention to this issue.

I've now had this issue happen intermintantly on two different computer, neither of which have ever had the SMART software installed on them and neither that appear to to have the launchd.conf or sysctl.conf (unless I'm missing some kind of setting to reveal this files, but I doubt it as I'm going through terminal on an admin account). 

One of the computers is essentially a totally clean instal with nothing on it other than MS Office and Adobe CS 6.

Thankfully the script Nick made is working, but its crazy to have to resort to this.

AshutoshChaturvedi
Community Manager
Community Manager
May 24, 2012

@amco: create a new user account and run Ai after logging into it. does it work. At times we think our machines are clean but softwares do get installed on our machines e.g unknown ones like device drivers or known ones like MS office. One thing is however certain Adobe enginers did not enocounter this before they shipped it.

Participant
May 18, 2012

I also encountered this issue on MAC OSX 10.7. I tried many hit and trials and finally found a way to launch Ai, though it is just a workaround. I followed these steps:

1. I created shell script which can launch Ai. You can download this shell script from the location: http://dl.dropbox.com/u/47167182/launchAI.command.zip.

2. Unzip the folder and drag the launchAI.command file into your dock area. (Please verify the application path, since I have installed AICS6 on default location)

3. Click launchAI.command icon in the dock.

4. A terminal will appear asking your user password, enter your password to see if AI launches successfully.

5. If you don't like typing password  for each run, you can edit /etc/sudoers file to add a line "%staff ALL=(ALL) NOPASSWD: ALL" . (Replace staff with your user's group name).

Please see if this workaround also works for you.

All the best!

Participating Frequently
May 18, 2012

Creative_nick, that script works perfectly. That's really strange, what is different about how this is being launched versus just launching the app normally? BTW, during launch I get this error in the terminal window:

2012-05-18 06:57:59.647 Adobe Illustrator[69428:3e03] CFURLCreateWithString was passed this invalid URL string: '/System/Library/Frameworks/' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateWithFileSystemPath or CFURLCreateWithFileSystemPathRelativeToBase should be used instead.

2012-05-18 06:58:22.879 CS6ServiceManager[69443:a03] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x1d03, name = 'com.adobe.csi.CSServiceManager.3'

See /usr/include/servers/bootstrap_defs.h for the error codes.

Participant
May 18, 2012

Ian,

This all is related to permissions that are avaialable to the process. When you launch the app with terminal (with the script that I provided), AI is invoked through shell and inherits the shell quota. It also gets sudo permissions so that AI is now able to change the limit of number of open files.

Participant
May 16, 2012

I'm having this exact problem with my newly downloaded Illustrator CS6.  It worked all day yesterday, and today I have this message.  Tried all the terminal commands as instructed above and no change.

CS 5.1 is working fine.

Any update on this issue is much needed.

AshutoshChaturvedi
Community Manager
Community Manager
May 17, 2012

Create a new user accunt on your mac login using the newly created user and see if it changes things for you. Make sure you also have the latest OS updates installed on your mahine

Participating Frequently
May 18, 2012

do you have any suggestions on where to start looking for software that would modify this max open files option? My OS is the latest version (10.7.4).

@Ian: Please look for files /etc/launchd.conf, $HOME/.launchd.conf or /etc/sysctl.conf. These are the common files where the limit may exist.


Thanks Nick. I couldn't find any of these files (and yes I knew to make sure the system files were visible to search in them). In the mean time I will keep using your script solution right now. It works and that's all I wanted. Cheers!

Participating Frequently
May 11, 2012

Having the same issue from a fresh install today from the Creative Cloud. I don't have any SMART driver software installed and ulimit shows unlimited for me as well.

Participating Frequently
May 15, 2012

Is there an ETA on this? Thanks.

Known Participant
May 8, 2012

I am having the same issue. I bought the CS6 Standard Suite Upgrade, and Illustrator gives me the exact same dialog, then quits.

Participant
May 9, 2012

I'm having exactly the same issue. Cannot do anything to solve it. All the other CS6 programs work but not Illustartor. I installed it from the Design Premium CD I was sent by Adobe. Any ideas anyone?

Inspiring
May 9, 2012

Hi

I´ll forward this post to an engineer from Adobe Illustrator Team. Will ask about this problem.

Thank you for bringing this issue. Expect to receive answers soon.

Best Regards

Gustavo.

Inspiring
May 7, 2012

Hi medgno_43

Just for confirmation. The build is installed on your machine is the official Illustrator CS6 trial that Adobe made avaliable for download today at this page: http://www.adobe.com/cfusion/tdrc/index.cfm?product=illustrator&loc=en_us ?

Did you try to trash preferences or reinstall Illustrator CS6? Does the problem persist?

Best Regards

Gustavo.

medgno_43작성자
Participant
May 7, 2012

I didn't install the version from that link, but I did install the official release of CS6 Web and Design Premium, and the application version is 16.0.0.  I both trashed the CS6 preferences and reinstalled Illustrator CS6, and I get the same error message.

Larry G. Schneider
Community Expert
Community Expert
May 7, 2012

Do you have any whiteboard software installed? I think I remember this as being the culprit.