Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Commit

Permalink
Solve "Too many open files" issues with screend.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dasavick authored Apr 7, 2020
1 parent 654a878 commit fa98278
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions screend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ SCRIPTNAME=/etc/init.d/$NAME
# and status_of_proc is working.
. /lib/lsb/init-functions

# Increase open files limit
ulimit -n 515214

# Make sure we have started with system locale
if [ -r /etc/default/locale ]; then
. /etc/default/locale
Expand Down

0 comments on commit fa98278

Please sign in to comment.