I am using apache as a proxy that redirects the traffic to a payara server. The issue I am experiencing is that when the server hits a traffic spike, it is slow to respond. I looked into our mpm_worker_module and here is the config:
<IfModule mpm_worker_module>
ServerLimit 250
StartServers 10
MinSpareThreads 75
MaxSpareThreads 250
ThreadLimit 64
ThreadsPerChild 32
MaxRequestWorkers 8000
MaxConnectionsPerChild 10000
</IfModule>
The numbers here seem very exaggerated and very wrong. I am no expert on apache and this is practically my first encounter with this sort of issue.
The apache server is running on 8GB ram which does not warrant the 8000 MaxRequestWorkers according to various posts here on stack.
The main issue is that the server becomes very unresponsive with about 50+ connected users. Any help and further information is very appreciated.