Commit a792835e authored by Owain Jones's avatar Owain Jones
Browse files

added a few more config files for increasing open file limits on server

parent 948d89e9
......@@ -124,6 +124,14 @@ systemctl enable haveged
# boot and continue running even if the user never logs in...
loginctl enable-linger gliders
# Increase open file limits. The 'fetchlogs' service connects to a bunch of
# stuff in parallel and with everything else running on the server this could
# push it over the default 4096 (or is it 1024?) open files per user limit,
# causing programs to quit.
# https://easyengine.io/tutorials/linux/increase-open-files-limit/
cp security-limits.d-10-files.conf /etc/security/limits.d/10-files.conf
cp sysctl.d-0-filelimits.conf /etc/sysctl.d/0-filelimits.conf
# (optional) Compile HHVM -- this will take ages!
# yum install cpp gcc-c++ cmake git psmisc {binutils,boost,jemalloc}-devel \
# {ImageMagick,sqlite,tbb,bzip2,openldap,readline,elfutils-libelf,gmp,lz4,pcre}-devel \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment