• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Issue Apache MaxRequestWorkers issue not resolving

Hassaan

Basic Pleskian
I am seeing the following errors in my apache logs


Apr 06 00:00:33 ns503772******100.net httpd[9585]: AH00515: WARNING: MaxRequestWorkers of 2000 would require 80 servers and
Apr 06 00:00:33 ns503772******100.net httpd[9585]: would exceed ServerLimit of 16, decreasing to 400.
Apr 06 00:00:33 ns503772******100.net httpd[9585]: To increase, please see the ServerLimit directive.

My current setting was following

<IfModule mpm_event_module>
LoadModule cgid_module modules/mod_cgid.so
MaxRequestWorkers 2000
</IfModule>



I'm am using Plesk Onyx

Processor: Intel Xeon E5-1620v2 - 4c/8t - 3.7 GHz/3.9 GH
Sever Ram: 64GB DDR3


My website generate when I tried to hit 1000 requests per second on it.


Then I have tried the following settings

<IfModule mpm_event_module>
StartServers 80
MinSpareThreads 50
MaxSpareThreads 300

ThreadLimit 25
ThreadsPerChild 25

ServerLimit 500
MaxRequestWorkers 2000
MaxConnectionsPerChild 0
</IfModule>


but issue remain un solved, infarct its generating more errors & log-writer started eating CPU

output of httpd -V | grep -i 'version\|mpm' is following

Server version: Apache/2.4.6 (CentOS)
Server MPM: event
 
Last edited:
Back
Top