Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Owain Jones
gliders-webserver
Commits
a792835e
Commit
a792835e
authored
9 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
added a few more config files for increasing open file limits on server
parent
948d89e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
install.sh
install.sh
+8
-0
No files found.
install.sh
View file @
a792835e
...
...
@@ -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 \
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment