Stop setting lower ulimit on file descriptors in Circle CI containers.

Now that we're using containers rather than physical machines, the default
value of `ulimit -n` is 65536, which is much greater than 4096.
This commit is contained in:
Ben Newman
2018-04-24 09:48:25 -04:00
parent 622c3d48bc
commit 99a72dee4b

View File

@@ -86,7 +86,7 @@ build_machine_environment: &build_machine_environment
# These will be evaled before each command.
PRE_TEST_COMMANDS: |-
ulimit -c unlimited; # Set core dump size as Ubuntu 14.04 lacks prlimit.
ulimit -n 4096; # CircleCI default is soft 1024, hard 4096. Take it all.
ulimit -a # Display all ulimit settings for transparency.
# Enable the Garbage Collection `gc` object to be exposed so we can try
# to our own, hopefully more graceful, technique.