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_bytesCORE:size_in_bytesCPU:CPU_time_in_secondsDATA:size_in_bytesFREEMEM:tenths_percent_total_memNOCONN:max_connectionsNOFILE:max_fdNPROC:max_processesNTHR:max_threadsSIGEVENT:max_sigevventsTIMERS:max_timersCHANNELS: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:
