Why the value of kernel.pid_max is seen as 4194304 on systems of RHEL8 and later?
Issue
- After updating to RHEL8.2, the value of pid_max after every reboot is seen as 4194304, why?
# sysctl -a|grep pid_max
kernel.pid_max = 4194304
-
If RHEL7 is installed on the same server, the value is seen as
32768for same number of cpu's. -
On RHEL8, journal logs show the pid_max value as
32768, but how the value gets changed to4194304.
kernel: pid_max: default: 32768 minimum: 301
Environment
- Red Hat Enterprise Linux 8
- systemd-239-29.el8.x86_64 and later.
- Red Hat Enterprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.