From 49f5b955972305dcedabb32a42d7b0b2ad6b2e18 Mon Sep 17 00:00:00 2001 From: Sispheor Date: Sun, 21 Jun 2015 10:02:07 +0200 Subject: [PATCH] add file limit to readme --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3547f9d..7f53539 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,26 @@ https://developer.valvesoftware.com/wiki/SteamCMD#Linux We assume you have created the `steam` user to store steamcmd and your ARK server. -## Install requirement +## Requirements Use this command to install soft requirement on your system ``` apt-get install screen unzip ``` +Edit /etc/sysctl.conf and set: +``` +fs.file-max=100000 +``` +Edit /etc/security/limits.conf and set these limits: +``` +* soft nofile 100000 +* hard nofile 100000 +``` +Add the following line to /etc/pam.d/common-session: +``` +session required pam_limits.so +``` + ## Install ARK Server Tools To install ARK Server Tools run these commands: