From 99a72dee4bd3ab6f6f656d39a888792f560cd3fc Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Tue, 24 Apr 2018 09:48:25 -0400 Subject: [PATCH] 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. --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0863155a14..16bd6cd3d3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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.