MaxClients of x would require y servers, and would exceed the ServerLimit value of z

Solution Verified - Updated -

Issue

  • Starting httpd with the worker module shows the following warning:
Starting httpd: WARNING: MaxClients of x would require y servers,
 and would exceed the ServerLimit value of z.
 Automatically lowering MaxClients to 250.  To increase,
 please see the ServerLimit directive.
  • We have below configuration and getting above defined error
<IfModule worker.c>
StartServers        3
MaxClients          500
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25
MaxRequestsPerChild 10000
ServerLimit         100
</IfModule>

Environment

  • Apache httpd

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