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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.