Hi @deepikash6,
Checking the number of requests your server receives, it seems there are a lot of IPs that are performing many requests. Can you check that?
-----------------------------------
Check performance issues: Count number of requests for the 10 most active IP addresses in the last 100.000 requests
-----------------------------------
Running: tail -n 100000 access_log | awk '{print $1}' | sort | uniq -c | sort -nr | head -n 10 | awk '{print $1}'
In: /opt/bitnami/apache2/logs/
Output:
10945
2191
2013
1842
1772
1598
1519
1436
1258
1237
https://docs.bitnami.com/aws/apps/moodle/troubleshooting/deny-connections-bots-apache/
Due to the number of requests you are receiving, the PHP-FPM process is reaching the limits (/opt/bitnami/php/var/log/php-fpm.log)
[10-Nov-2020 11:01:56] WARNING: [pool moodle] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 5 idle, and 118 total children
If all the requests are valid, can you increase those values in the /opt/bitnami/php/etc/bitnami/common.conf file and restart the process?
sudo /opt/bitnami/ctlscript.sh restart php-fpm
Happy to help!
Was my answer helpful? Click on 