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
libre
gitlab-jekyll-runner
Commits
74d9045c
Commit
74d9045c
authored
May 06, 2020
by
Michał "rysiek" Woźniak
Browse files
bumping the open files limit
parent
2bd32095
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
Dockerfile
Dockerfile
+3
-0
open-file-limit.conf
open-file-limit.conf
+5
-0
No files found.
Dockerfile
View file @
74d9045c
...
@@ -12,6 +12,9 @@ ENV DEBIAN_FRONTEND=noninteractive
...
@@ -12,6 +12,9 @@ ENV DEBIAN_FRONTEND=noninteractive
ARG
GITLAB_RUNNER_UID=999
ARG
GITLAB_RUNNER_UID=999
ARG
GITLAB_RUNNER_GID=999
ARG
GITLAB_RUNNER_GID=999
# open files limit needs to be bumped
COPY
open-file-limit.conf /etc/security/limits.d/
# and let's modify the group and the user
# and let's modify the group and the user
RUN
groupmod
--gid
${
GITLAB_RUNNER_GID
}
gitlab-runner
\
RUN
groupmod
--gid
${
GITLAB_RUNNER_GID
}
gitlab-runner
\
&&
usermod
--uid
"
${
GITLAB_RUNNER_UID
}
"
gitlab-runner
&&
usermod
--uid
"
${
GITLAB_RUNNER_UID
}
"
gitlab-runner
...
...
open-file-limit.conf
0 → 100644
View file @
74d9045c
#
# for large Jekyll sites the default soft limit of 1024 is not enough
# https://easyengine.io/tutorials/linux/increase-open-files-limit/
*
hard
nofile
1048576
*
soft
nofile
524288
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