On Wed, Mar 31, 2021 at 1:49 AM A.J. Gatlin <ajgat...@gmail.com> wrote:
>
> For now, I'm trying to solve the problem by increasing some MPM parameters, 
> but it's all a bit nebulous, since I'll never be completely sure that the 
> values are sufficient to prevent another deadlock situation in which the 
> server just hangs.

I usually configure something like this, based on the maximum number
of simultaneous clients/workers needed (numWorkers).

# Some pre-computations
numWorkers = [your needs]
if numWorkers < 1000
    numProcesses = 10
elif numWorkers < 10000
    numProcesses = numWorkers / 100
else
    numProcesses = 100
endif
numThreads = numWorkers / numProcesses

# MPM settings
StartServers             1
ServerLimit              $numProcesses * 2.5
ThreadLimit              $numThreads
ThreadsPerChild          $numThreads
MinSpareThreads          $numThreads
MaxSpareThreads          $numWorkers / 2
MaxRequestWorkers        $numWorkers
MaxConnectionsPerChild   0

Hth..

Regards;
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to