I am not sure if I understand the problem right. I understand that you run Plesk. Plesk offers to switch easily between the different Apache MPM modes. So I think you should only use prefork. Any other modul could lead to connection loss.
Maybe your SSL problems are a caused by missing Apache power. Do the problems also occur at times when most users are offline? Maybe you should set your server under fire with siege to find out:
Note: I am not shure how to install siege with plesk. I tested the following with Ubuntu 18.04 without Plesk.
Maybe your SSL problems are a caused by missing Apache power. Do the problems also occur at times when most users are offline? Maybe you should set your server under fire with siege to find out:
Note: I am not shure how to install siege with plesk. I tested the following with Ubuntu 18.04 without Plesk.
apt install siege
nano makestress
- Paste this in:
#!/bin/bash
USER=240
#/root/.siege/siege.conf
#add YOUR domain!
siege -c${USER} -b https://yourdomain.de/
USER=240
#/root/.siege/siege.conf
#add YOUR domain!
siege -c${USER} -b https://yourdomain.de/
- Save and exit
chmod +x makestress
- Open htop in a 2nd SSH window:
htop
- Open a third SSH window
- Understand htop: https://www.deonsworld.co.za/2012/12/20/understanding-and-using-htop-monitor-system-resources/
- Run the script in the 1st SSH window:
makestress
- It will simulate 100 users. Increase this value and test, what is possible. - Stop it in the 3rd SSH window with
kill $(ps aux | grep siege | awk '{print $2}')
- There shoul appear some output:
Transactions: 11262 hits
Availability: 100.00 %
Elapsed time: 7.81 secs
Data transferred: 214.90 MB
Response time: 0.07 secs
Transaction rate: 1442.00 trans/sec
Throughput: 27.52 MB/sec
Concurrency: 98.31
Successful transactions: 11316
Failed transactions: 0
Longest transaction: 1.13
Shortest transaction: 0.01
Availability: 100.00 %
Elapsed time: 7.81 secs
Data transferred: 214.90 MB
Response time: 0.07 secs
Transaction rate: 1442.00 trans/sec
Throughput: 27.52 MB/sec
Concurrency: 98.31
Successful transactions: 11316
Failed transactions: 0
Longest transaction: 1.13
Shortest transaction: 0.01
- The value Availability: 100.00 % is important
- Try to find a setting that fits to your amount of users and that avoids messages like that:
[error] Unknown error code from gethostbyname for yourdomain.de
: Connection timed out
: Connection timed out