Skip to content

Commit 6afb480

Browse files
committed
Set ulimit nofile to be 1000
Signed-off-by: Luca Carrogu <[email protected]>
1 parent f92426d commit 6afb480

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

metadata.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@
2727
depends 'apt', '~> 7.0.0'
2828
depends 'hostname', '~> 0.4.2'
2929
depends 'line', '~> 1.0.6'
30+
depends 'ulimit', '~> 1.0.0'

recipes/_default_pre.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16+
user_ulimit "*" do
17+
filehandle_limit 10000
18+
end
19+
1620
include_recipe 'aws-parallelcluster::_update_packages'
1721

1822
# Reboot after preliminary configuration steps

0 commit comments

Comments
 (0)