Skip to content

Commit

Permalink
Set memlock ulimit to unlimited. (#4770)
Browse files Browse the repository at this point in the history
This works around a kernel bug that is tickled by Go 1.14:

golang/go#37436
  • Loading branch information
jsha committed Apr 13, 2020
1 parent 7cc5f64 commit db1a1a8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ services:
- bmysql
entrypoint: test/entrypoint.sh
working_dir: /go/src/github.com/letsencrypt/boulder
# This works around a kernel bug that is tickled by Go 1.14:
# https://github.com/golang/go/issues/37436
# Remove once devs are on Linux 5.4.2+
ulimits:
memlock:
soft: -1
hard: -1
bhsm:
# To minimize fetching this should be the same version used above
image: letsencrypt/boulder-tools-go${TRAVIS_GO_VERSION:-1.13.2}:2020-04-08
Expand Down

0 comments on commit db1a1a8

Please sign in to comment.