Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleTemporarily increase the number of open files
sudo bash
ulimit -n 40960128000
sudo -u myuser bash
mvn clean install

...

Code Block
languagebash
titleModify limits.conf to permanently increase the number of allowed open files for all users and root
*      soft   nofile 40960  128000
*      hard soft  nofile 40960  128000
root   soft   nofile  40960 128000
root   hard  soft nofile 40960  128000

If the following line does not exist in the /etc/pam.d/common-session file, add it.

...