Performance Issue due to server reached MaxRequestWorkers on Apache httpd

Solution Verified - Updated -

Issue

  • The Apache httpd hangs after reaching 256 connections. We see below error message in error_log.

     AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
    
  • The Apache httpd server is running out of MaxRequestWorkers very quickly. How to increase MaxRequestWorkers?

  • Httpd only allowing 256 connections in Prefork mpm

Environment

  • Red Hat Enterprise Linux (RHEL) 7.x

    • Apache httpd-2.4.6
  • Red Hat Enterprise Linux (RHEL) 8.x

    • Apache httpd-2.4.37
  • Red Hat Enterprise Linux (RHEL) 9.x

    • Apache httpd-2.4.x
  • JBoss Web Server (JWS) 3.x
    - Apache httpd 2.4.x

  • Jboss Core Services httpd 2.4.x

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