mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
ci/android: configure both hard limits and soft limits
The soft limits cannot go above the hard limits values, so the hard limits should be configured too, just in case default limits values set by the kernel or the init process are too small. E.g. when booting with `init=/bin/sh` we have: $ cat /proc/1/limits Limit Soft Limit Hard Limit Units ... Max open files 1024 4096 files ... Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35126>
This commit is contained in:
parent
859e903004
commit
088a4b0e23
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ function my_atexit()
|
|||
trap 'my_atexit' EXIT
|
||||
trap 'exit 2' HUP INT PIPE TERM
|
||||
|
||||
ulimit -S -n 32768
|
||||
ulimit -n 32768
|
||||
|
||||
VSOCK_BASE=10000 # greater than all the default vsock ports
|
||||
VSOCK_CID=$((VSOCK_BASE + (CI_JOB_ID & 0xfff)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue