Skip to main content Skip to complementary content

ulimit settings on Unix systems

To improve Talend server modules and Unix system performance, you can configure the system resources (ulimit) according to the needs of the user or group. These settings are defined in the /etc/security/limits file.

ulimit syntax

ulimit <limit type> <item> <value>

There are two ulimit types: hard and soft.
  • The soft limit is the effective resource limit. The user can increase the soft limit up to the value of the hard limit.
  • The hard limit is the maximum resource limit. This value is set by the superuser and cannot be exceeded.

If you do not specify a limit type, the hard limit type is used by default.

The following ulimit settings are important for your Talend deployment.

Item Description Flag Value
fsize Maximum file size -f KB
nofile Maximum number of open files -n Number of files
stack Maximum stack size -s KB
cpu Maximum CPU time -t minutes
nproc Maximum number of processes/threads -u Number of processes/threads
Information noteTip: You can list all available ulimit settings with the following command: ulimit -a

Example

ulimit -H -n 2000

This command sets a hard limit of 2000 open files per process.

For complete details on the ulimit settings, see the SS64 reference guide for ulimit.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!