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/

nano /etc/apache2/mods-enabled/mpm_prefork.conf
        ServerLimit 2048
        MaxRequestWorkers        2048

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.

nano /etc/apache2/apache2.conf
KeepAlive Off

Last updated