Recommended ulimit settings for linux

Document ID : KB000089395
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Affects Release version(s): null

Recommended ulimit settings for linux
Resolution:
Recommended ulimit settings for linux

Kind of problems:
*) Too many open files
*) Out of memory

Solution:
Set the main ulimit properties to unlimited:
We recommend these settings for all linux/unix agents.
Data, memory, nofiles and stack should be set to unlimited.
    ulimit -d unlimited
    ulimit -m unlimited
    ulimit -n unlimited
    ulimit -s unlimited

These settings are also recommended from IBM for java based applications:
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.prftungd/doc/prftungd/java_tuning_aix.htm