Setting file number limit on Ubuntu Linux, Linux Mint, and Debian Linux

The system default limits are in /etc/security/limits.conf.

To change the limit for a particular user, add a line:
  <user> hard nofile 10000

To change the limit for all users except root, add a line:
  * hard nofile 10000

The file is protected, and you must have administrator permissions to edit
it.

"ulimit -n 9999" must still be issued in your scripts or your rc file.

In the latest version of Ubuntu, Vivid Vervet, this can also be done with
the "prlimit" command, an administrator password, and some trickery.

···

--
Randolph M. Fritz, Lighting Design and Simulation
+1 206 659-8617 || [email protected]