RLIMIT_SIGPENDING
Maximum number of signals that may be queued for the real user ID.
- Resource number
- 11
- Row in /proc/PID/limits
- Max pending signals
- bash ulimit flag
- ulimit -i
- Unit in /proc/PID/limits
- signals
- Added in Linux
- 2.6.8
- Group
- Processes and signals
What happens at the limit
sigqueue(3) and rt_sigqueueinfo(2) fail with EAGAIN.
Error names: EAGAIN.
It counts both standard and real-time signals, but only the queueing calls are refused. Plain kill(2) never fails on it, since a standard signal that is already pending is just not queued again. The default is computed at boot, which is why machines show different numbers.
Check a running process with grep -i "Max pending signals" /proc/PID/limits, or paste the whole file into the limits reader. Inspect or change one on a live process with prlimit --pid PID(util-linux).
Sources
Resource numbers are from asm-generic/resource.h; a few architectures (Alpha, MIPS, SPARC) number some limits differently. The list of syscall cards is matched by name from the card text on this site, not from the kernel source. Spot one that's wrong? Tell Rod.