rlimits

QNX SDP8.0PLMS User's GuideAPIConfigurationDeveloper

Syntax

rlimits = [rlimit:cur[:max], …]

Description

The rlimits keyword specifies the resource limit for the process to be spawned. The fields include:
rlimit
The definitions include:
  • AS:size_in_bytes
  • CORE:size_in_bytes
  • CPU:CPU_time_in_seconds
  • DATA:size_in_bytes
  • FREEMEM:tenths_percent_total_mem
  • NOCONN:max_connections
  • NOFILE:max_fd
  • NPROC:max_processes
  • NTHR:max_threads
  • SIGEVENT:max_sigevvents
  • TIMERS:max_timers
  • CHANNELS:max_channels (supported in SDP 8.x)
  • MQUEUE_NUM:max_mqueues (supported in SDP 8.x)
  • MQUEUE_SIZE:max_queue_size (supported in SDP 8.x)
  • SHM_HANDLES:max_shmem_handles (supported in SDP 8.x)
cur
The rlim_cur field (i.e., the soft limit). It can be a number or inf for RLIM_INFINITY.
max (optional)
The rlim_max field (i.e., the hard limit). It can also be a number or inf. If you don't specify this limit, it maintains its previous value.

Refer to the QNX SDP documentation on rlimits for more information on how the settings are used.

Default

The process inherits plms limits.

Example

rlimits = ["AS:4096", "TIMERS:100"]

Multiplicity

Zero or one instance in a task block.

Constraints

If rlimits is specified in a task, then the task must have one of the exec*() functions so that rlimits is used at run time.

Page updated: