Skip to content

Commit 4afb7d6

Browse files
author
Sean Smith
committed
Set ulimits when EFA Enabled
* Sets the max_memory ulimit on the master when EFA is enabled Signed-off-by: Sean Smith <seaam@amazon.com>
1 parent ea8a22f commit 4afb7d6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

recipes/base_config.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,8 @@
6262
# Enable EFA
6363
if node['cfncluster']['enable_efa'] == 'compute' && node['cfncluster']['cfn_node_type'] == 'ComputeFleet'
6464
include_recipe "aws-parallelcluster::_efa_enable"
65+
elsif node['cfncluster']['enable_efa'] == 'compute'
66+
user_ulimit "*" do
67+
memory_limit 'unlimited'
68+
end
6569
end

0 commit comments

Comments
 (0)