Commit ffb19988 authored by Marco Mariani's avatar Marco Mariani

check that ulimit -n works, before running anything

parent 57150b4d
......@@ -74,6 +74,7 @@ extends =
parts =
check-ulimit
slapos-cookbook
directories
jdk
......@@ -114,6 +115,16 @@ develop =
[check-ulimit]
# /etc/security/limits.conf should contain something like:
# * hard nofile 32768
# * soft nofile 32768
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = ulimit -n 32768
[jdk-download]
# hack to download java and policy files, bypassing javascript requirement
recipe = plone.recipe.command
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment