RLIMITCPU
RLIMIT_CPU is a per-process resource limit that constrains the amount of CPU time a process may consume. It is part of the POSIX resource limits interface (struct rlimit), and consists of two fields: rlim_cur (the soft limit) and rlim_max (the hard limit). Values are expressed in seconds; a value of RLIM_INFINITY indicates no limit. The timer measures CPU time spent in both user and kernel modes.
When a process uses CPU time beyond the soft limit, the kernel delivers a SIGXCPU signal to
Limits are set and queried via the setrlimit and getrlimit system calls. They apply to the process
RLIMIT_CPU is used to prevent runaway processes, enforce quotas, or isolate resource consumption in sandboxing or