pam_systemd(crond:session): Failed to create session: Maximum number of sessions (8192) reached, refusing further sessions.

Solution Verified - Updated -

Issue

  • Received below error in /var/log/secure

    May 21 03:15:01 testdomain.com crond[241599]: pam_systemd(crond:session): Failed to create session: Maximum 
    number of sessions (8192) reached, refusing further sessions.
    

Environment

  • Red Hat Enterprise Linux (RHEL) 8
  • Red Hat Enterprise Linux (RHEL) 9
  • crond

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