Gitlab backup error: rake aborted Errno::EMFILE: Too many open files
rake aborted Errno::EMFILE: Too many open files
This error happens if the gitlab repositories contains huge number of files.
We can resolve this error by increasing the open files limit.
Step1: Open sysctl conf.
#vi /etc/sysctl.conf
Step2: Add or modify the following line and save the file.
fs.file-max = 2097152
Step3: Reload the configuration.
#sysctl -p
Now the backup will work without any issues.
That's all…