Error writing value for wfsd_engine (MySQLi error: [2006] MySQL server has gone
-
Hello guys,
Does anyone have a clue how to fix this issue: The Wordfence begins manual on-demand scan but always finish it with:
“Error writing value for wfsd_engine (MySQLi error: [2006] MySQL server has gone away)”A lot of settings were checked and tuned in an attempt to fix this issue. Here is some information about the environment:
VPS Server
OS Ubuntu 20.04 LTS.
RAM: 1 GB
Apache v2.0
MySQL v8.0.21-0ubuntu0.20.04.3
PHP v7.4.3
WordPress v5.4.2
Wordfence v7.4.9 (1594219913)Adjustments made:
PHP Settings:
max_execution_time = 300SQL Settings:
max_allowed_packet = 128M
wait_timeout = 28800
net_read_timeout = 30
net_write_timeout = 60
interactive_timeout = 28800
connect_timeout = 10Wordfence Settings:
Use Low Resource Scanning – On
How much memory should Wordfence request when scanning – 300
Maximum execution time for each scan stage – 24Tested everything that was recommended by the Wordfence manual, including low-performance scanning. Nothing helped so far. Once during the tests, while turning off some plugins and switching to the default WordPress theme got this message:
“Error reconnecting to the database This means that we lost contact with the database server at localhost. This could mean your host’s database server is down. Are you sure the database server is running? Are you sure the database server is not under particularly heavy load? If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.”
I am a little bit frustrated because the same exact environment on Ubuntu 18.04 works just fine with default settings and the same resources. I understand it is highly likely the MySQL issue. But what adjust and where?
Please advise how to fix that issue!
Thanks,
vinnocorp
- The topic ‘Error writing value for wfsd_engine (MySQLi error: [2006] MySQL server has gone’ is closed to new replies.