00:00:00
23 Apr

Apache 2.2 vs. Apache 2.4: MaxClients and MaxRequestWorkers

Oliver Krautscheid Aug 06, 2014
0 1862

Today I received the error “server reached MaxRequestWorkers setting” and was a little confused as I had never heard of this setting before.


Apache 2.4 No Longer Uses MaxClients

I recently upgraded to Apache 2.4 due to several performance and stability improvements. However, I still am not familiar with all changes and still need to read up on it. One of the key settings that has changed was known as MaxClients. Whenever too many people visit your site / server, the number of MaxClients defines how many can access a resource the same time. By default 150 people can access an Apache server at the same time.

The full error reads something like this in your error_log

[mpm_prefork:error] [pid 1729] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting

Control Panel WHM

You can only change MaxRequestWorkers if you also increase the value of your ServerLimit directive

If you use WHM/Cpanel, you will find an option called Apache configuration in the sidebar. Open the subitem Global Configuration and you can change MaxClients or MaxRequestWorkers.

Whm Apache Configuration.png

In Our Wiki

For more information read our Webmaster Wiki article on MaxClients

About Us

Webmaster .Net is your all-in-one resource for blogging tips, system administration guides, industry news and a growing community of webmasters.

Can't find something or want to tip us?Contact@webmaster.net

Bulls and Bears
Webmaster Tutorials, Wordpress
0 shares593 views

WordPress SQL Query: Select And Delete Posts Between Two Dates

Oliver Krautscheid - Apr 08, 2017

If you are wondering how to delete posts for a certain date, you will need to know how Wordpress stores…

Advertising and Ad Networks, Copywriting
0 shares752 views

15 Tips For Increasing Facebook Ads CTR – Full Guide [2017 Update]

Cam Connor - Mar 30, 2017

In this article, we'll talk a lot about how you can write quality text ads on Facebook Ads to get…

Webmaster Tutorials
0 shares1412 views

10 Steps To Configure Nginx For WordPress, Drop Varnish And Cut Your CPU Load By 50%

Oliver Krautscheid - Oct 10, 2016

Are you using Varnish on your Wordpress blog? Possibly the Varnish script by Unixy? Great! Get rid off it. Here's…

Follow Us And get latest news

© 2016 Webmaster.Net - Property of Peakstone Media Ltd. - All rights reserved. | Privacy Policy | DMCA | Contact Us | Advertise