Apache
​

Increase max CCU

1. Allocate more resources

This allows for more Apache child processes to be spawned, thus being able to handle more concurrent connections.
You can read more about Apache performance tuning here: https://www.liquidweb.com/kb/apache-performance-tuning-mpm-directives/​
1
nano /etc/apache2/mods-enabled/mpm_prefork.conf
2
---
3
ServerLimit 2048
4
MaxRequestWorkers 2048
Copied!

2. Kill connections faster

This might increase the latency of each request, but allow for more concurrent users to send requests without the idle connections using too much space.
1
nano /etc/apache2/apache2.conf
2
---
3
KeepAlive Off
Copied!
Last modified 1mo ago