Drongo_III Posted August 4, 2021 Share Posted August 4, 2021 Hello Trying to find MaxRequestWorkers apache setting but cannot locate it anywhere. I have tried grepping the entire httpd directory but there is no mention of it. Running Apache/2.4.48 mpm-prefork-module. So two questions: Can apache configuration values NOT be explicitly set? In the event that it's not explicitly set does Apache fallback to an 'invisible' default? Is there a way to list specific apache config settings from the command line? Pulling my hair out so any help is greatly received. Thanks, Drongo Quote Link to comment https://forums.phpfreaks.com/topic/313494-how-to-find-maxrequestworkers/ Share on other sites More sharing options...
requinix Posted August 4, 2021 Share Posted August 4, 2021 https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers Quote The MaxRequestWorkers directive sets the limit on the number of simultaneous requests that will be served. Any connection attempts over the MaxRequestWorkers limit will normally be queued, up to a number based on the ListenBacklog directive. Once a child process is freed at the end of a different request, the connection will then be serviced. For non-threaded servers (i.e., prefork), MaxRequestWorkers translates into the maximum number of child processes that will be launched to serve requests. The default value is 256; to increase it, you must also raise ServerLimit. For threaded and hybrid servers (e.g. event or worker), MaxRequestWorkers restricts the total number of threads that will be available to serve clients. For hybrid MPMs, the default value is 16 (ServerLimit) multiplied by the value of 25 (ThreadsPerChild). Therefore, to increase MaxRequestWorkers to a value that requires more than 16 processes, you must also raise ServerLimit. MaxRequestWorkers was called MaxClients before version 2.3.13. The old name is still supported. At least one of those statements in there will be relevant to you. Quote Link to comment https://forums.phpfreaks.com/topic/313494-how-to-find-maxrequestworkers/#findComment-1588854 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.