Commit d5247ad4 authored by Nicolas M. Thiéry's avatar Nicolas M. Thiéry
Browse files

Disk space usage mitigation:

- ulimit core size to 10M
- ulimit file size to 100M
- core files called `core`
parent 50c56174
Pipeline #94196 failed with stage
in 18 minutes and 6 seconds
......@@ -25,6 +25,12 @@ RUN echo 'shopt -s extglob' > /etc/profile.d/
# /etc/skels/.bashrc; older accounts may not beneficiate from it.
# Force activation for everyone.
RUN echo 'eval "$(command conda shell.bash hook 2> /dev/null)"' > /etc/profile.d/
# Limit to 10M the size of core dumps
# Limit to 100M the size of files generated from commands in the shell
RUN echo 'ulimit -c 10000; ulimit -f 100000' > /etc/profile.d/
RUN echo 'ulimit -c 10000; ulimit -f 100000' > /etc/profile.d/
# Force core files to be named 'core'
RUN echo 'kernel.core_uses_pid = 0' > /usr/lib/sysctl.d/60-local.conf
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