Attempting to set ulimit results in error on UCSB systems
d1-processing attempts to set
ulimit in the startup script:
ulimit -Hn 16384 ulimit -Sn 16384
This was necessary because the limit was previously too low (1024 or 4096). The low limits are quite conservative and could be raised system wide. In order for the startup script to work as expected regardless of the system setting, a test should be added, something like:
if (( $(ulimit -n) < 16384 )); then ulimit -Hn 16384 ulimit -Sn 16384 fi
will ensure ulimits are set as needed for the application.