From a7c23789e85908d5d4da7847e12a807800506ee0 Mon Sep 17 00:00:00 2001 From: Sispheor Date: Sat, 20 Jun 2015 17:52:17 +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 6b668f0..e15f483 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: