Reduce Wordfence CPU usage, disable Wordfence “Live Visitor Tracking”

JanR/ March 19, 2019/ WordPress Tuning/ 0 comments

Unfortunately the Wordfence “Live Visitor Tracking” feature can cause CPU usage issues for websites. Therefore, I recommend you disable this feature to improve the performance of your WordPress website.

If you want to disable Live Tracking through your WordPress Dashboard, then follow these steps:

  • Log on in WordPress
  • Click Wordfence →
    • Options
  • Deselect “Enable Live Traffic View”
  • click “Save” to save your changes

If you want to work directly in your MySQL database: execute the following SQL statement on your MySQL command prompt, or in PhpMyAdmin.

MariaDB [examplecom]> select * from wp_wfConfig where name = "liveTrafficEnabled";
+--------------------+------+----------+
| name               | val  | autoload |
+--------------------+------+----------+
| liveTrafficEnabled | 1    | yes      |
+--------------------+------+----------+
1 row in set (0.002 sec)

MariaDB [examplecom]> update wp_wfConfig set val = 0 where name = "liveTrafficEnabled";
Query OK, 1 row affected (0.001 sec)
Rows matched: 1  Changed: 1  Warnings: 0

MariaDB [examplecom]> select * from wp_wfConfig where name = "liveTrafficEnabled";
+--------------------+------+----------+
| name               | val  | autoload |
+--------------------+------+----------+
| liveTrafficEnabled | 0    | yes      |
+--------------------+------+----------+
1 row in set (0.001 sec)

The first SELECT statement shows Wordfence’s liveTrafficEnabled is set to 1 (enabled). The second statement (UPDATE) sets its value to 0, and the third statement confirms this change.

Now you have Wordfence Live Visitor Tracking feature is disabled.

Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
*
*