Ulimit Overview |
||||||||||||||||||||||||||||||||
The Java Service Wrapper has the ability to limit the use of system-wide resources. A resource has 2 limits: soft and hard. Here are the rules to respect:
To see the current limits on your system, please run the following commands in a terminal:
Currently, <resource> can be the following:
As an alternative to the Wrapper properties, you can also use the built-in 'ulimit' command within the shell script that launches the Wrapper. The shell's resource limits will be inherited by the Wrapper, the Java application and all its child processes.
NOTAThe range of allowed values may vary depending on the OS and the type of resource. Some systems will allow the value 'unlimited' to be set for certain resources while others won't accept this value. Setting wrapper.ulimit.nofile.strict to FALSE or wrapper.ulimit.nofile.soft to HARD may help by automatically increasing the values to their maximums.
|