0

I want to set kern.maxfiles kernel state to unbounded value using sysctl.

However, the commands sysctl kern.maxfiles=unlimited yields an error (not an integer), while I'm not sure of the sematics of sysctl kern.maxfiles=-1 (cannot find any documentation).

Anyone knows?

  • I am going to explain this in details on your other question (apple.stackexchange.com/questions/366187/…), i am just finishing the writeup with examples. – Prado Aug 9 at 12:50
  • Hi, I just updated my answer there, with MacOS Kernel Source code and launchctl source code, showing why it is impossible to set the value 'unlimited'. – Prado Aug 9 at 14:27

You must log in to answer this question.

Browse other questions tagged .