Why the value of kernel.pid_max is seen as 4194304 on systems of RHEL8 and later?

Solution Verified - Updated -

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 32768 for same number of cpu's.

  • On RHEL8, journal logs show the pid_max value as 32768, but how the value gets changed to 4194304.

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content