Apache MaxRequestWorkers limit and kernel panic

SYSTEM INFORMATION
OS type and version Ubuntu 20.04
Webmin version 1.994
Virtualmin version 7.1-1
Related packages Apache2 2.4.41

Hi, I have panic kernel on my server after errors:

server is within MinSpareThreads of MaxRequestWorkers, consider raising the MaxRequestWorkers setting
server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting

This apache error can make kernel panic ?

I have updated the configuration of mpm_event in order to compensate for this (default value originally)
Old configuration :

StartServers			 2
MinSpareThreads		 25
MaxSpareThreads		 75
ThreadLimit			 64
ThreadsPerChild		 25
MaxRequestWorkers	  150
MaxConnectionsPerChild   0

New configuration :

StartServers 4
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxRequestWorkers 500
MaxConnectionsPerChild 0
ServerLimit 20
ServerLimit to 20 from 16 by default because with 16, the MaxRequestWorker is 400 not 500

i have a server with 4 cores 8 threads with 32 Gb of memory and NVME drive.
Memory usage actualy is : 31.09 GiB total / 26.11 GiB free / 25.5 GiB cached

What is the best configuration for apache mpm_event, i can set ?

Thanks for your help

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.