Skip to content

Instantly share code, notes, and snippets.

@pulketo
Last active December 9, 2022 13:48
Show Gist options
  • Save pulketo/efd192470bad23aebc54cf1569cb58eb to your computer and use it in GitHub Desktop.
Save pulketo/efd192470bad23aebc54cf1569cb58eb to your computer and use it in GitHub Desktop.
ulimit.conf unlimited for testing
/etc/security/limits.conf
sudo bash -c "cat << EOF > /etc/security/limits.conf
* soft core unlimited
* hard core unlimited
* soft data unlimited
* hard data unlimited
* soft fsize unlimited
* hard fsize unlimited
* soft memlock unlimited
* hard memlock unlimited
* soft nofile 1048576
* hard nofile 1048576
* soft rss unlimited
* hard rss unlimited
* soft stack unlimited
* hard stack unlimited
* soft cpu unlimited
* hard cpu unlimited
* soft nproc unlimited
* hard nproc unlimited
* soft as unlimited
* hard as unlimited
* soft maxlogins unlimited
* hard maxlogins unlimited
* soft maxsyslogins unlimited
* hard maxsyslogins unlimited
* soft locks unlimited
* hard locks unlimited
* soft sigpending unlimited
* hard sigpending unlimited
* soft msgqueue unlimited
* hard msgqueue unlimited
EOF"
source: https://www.howtogeek.com/devops/setup-a-completely-unlimited-limits-conf-configuration-for-testing-servers/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment