PHP Fatal error: Uncaught mysqli_sql_exception
-
Hi,
Today we had a large scale attack and there are several of those in the error.log (for some reason nothing was logged in the enabled debug.log):
[02-May-2024 14:44:01 Europe/Athens] PHP Fatal error: Uncaught mysqli_sql_exception: Resource temporarily unavailable in /home/public_html/wp-content/plugins/ninjafirewall/lib/firewall.php:439
Stack trace:
#0 /home/public_html/wp-content/plugins/ninjafirewall/lib/firewall.php(439): mysqli_real_connect()
#1 /home/public_html/wp-content/plugins/ninjafirewall/lib/firewall.php(93): nfw_connect()
#2 /home/public_html/wp-content/nfwlog/ninjafirewall.php(10): include_once(‘/home/public_html/…’)
#3 {main}
thrown in /home/public_html/wp-content/plugins/ninjafirewall/lib/firewall.php on line 439Apparently the sql was accepting a huge ammount of connections and refused to serve more for a while. We had to mitigate it, changing our IP. It came from a “cloud” platform of a well known company.
Not sure if the exception should be more kindly treated or not. Also not an issue for me, JFYI to maybe help make the plugin better.
Thanks
- The topic ‘PHP Fatal error: Uncaught mysqli_sql_exception’ is closed to new replies.