/var/lib/tomcat/applications/thredds-4.3/bin/setenv.sh: line 3: ulimit: open files: cannot modify limit: Operation not permitted
The tomcat setenv.sh
script will sometimes (and often for THREDDS) attempt to set the open-file limit using ulimit
. To allow this user to actually set a hard limit.
tomcat hard nofile 65536