Title: Plugin hangs application solved
Last modified: April 10, 2018

---

# Plugin hangs application solved

 *  Resolved [mikeyb31](https://wordpress.org/support/users/mikeyb31/)
 * (@mikeyb31)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-hangs-application-solved/)
 * Hi guys,
 * I’ve tried using this plugin a few times (for GDPR) but have ended up removing
   it straight away as it intermittently kills/hangs the application. I decided 
   to have a closer look at the code and report my findings.
 * There is an AJAX request to /wp-admin/admin-ajax.php?_fs_blog_admin=true which
   calls the action “AjaxRefresh” – the method AjaxRefresh is located in classes\
   Views\AuditLog.php.
 * I immediately noticed a usleep() on L308 which is called in a do/while loop (
   see [https://imgur.com/XLpqZEh](https://imgur.com/XLpqZEh)). This snippet, on
   occasions (I’ve not looked into why) sleeps for a considerable length of time,
   enough for PHP to timeout (30 sec default). If you’re clicking around the different
   Audit Log pages or have multiple tabs open etc your PHP workers will be stuck
   in this sleep and very quickly your application will grind to a halt.
 * I haven’t spent enough time investigating this issue to give suggestions on a
   fix as I don’t fully understand what this snippet of code is doing but this does
   need to be rectified. I’ve noticed a few of the negative reviews for this plugin
   also had similar issues so hopefully this will prompt a fix.
 * Kind regards,
    Mike

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [mikeyb31](https://wordpress.org/support/users/mikeyb31/)
 * (@mikeyb31)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-hangs-application-solved/#post-10164714)
 * *** As a quick fix/alternative, you can disable the AJAX requests by setting 
   the “Refresh Audit Log Viewer” to “Manual” @ /wp-admin/admin.php?page=wsal-settings#
   tab-audit-log
 *  [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * (@wpwhitesecurity)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-hangs-application-solved/#post-10165091)
 * Hello [@mikeyb31](https://wordpress.org/support/users/mikeyb31/),
 * Thank you very much for taking the time to report the issue.
 * In regards to performance, we are always optimizing the plugin but the more the
   merrier. So we are taking your feedback on board and will also look into optimizing
   this specific issue.
 * Should you have anything else to share, let me know and thank you again.
 *  Thread Starter [mikeyb31](https://wordpress.org/support/users/mikeyb31/)
 * (@mikeyb31)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-hangs-application-solved/#post-10165140)
 * You’re welcome [@wpwhitesecurity](https://wordpress.org/support/users/wpwhitesecurity/)
   
   Thank you for the plugin 🙂
 *  [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * (@wpwhitesecurity)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-hangs-application-solved/#post-10171282)
 * You’re welcome [@mikeyb31](https://wordpress.org/support/users/mikeyb31/).
 * I can confirm that we identified a problem that was eating up some resources 
   and can also confirmed that it is fixed. Will release a fix with some other updates
   early next week and you should notice a considerable performance improvement.
 * If you’d like an early sneak peak and test the beta of next week’s update drop
   me an email on [robert@wpsecurityauditlog.com](https://wordpress.org/support/topic/plugin-hangs-application-solved/robert@wpsecurityauditlog.com?output_format=md).
 * Thank you again for taking the time to report the issue.
 *  [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * (@wpwhitesecurity)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-hangs-application-solved/#post-10233025)
 * Hello [@mikeyb31](https://wordpress.org/support/users/mikeyb31/),
 * We just released [version 3.1.7 of the plugin](https://www.wpsecurityauditlog.com/releases/3-1-7-new-data-inspector/)
   which includes a fix and performance enhancement. Please try it out and keep 
   us posted on the outcome of the test.
 * Thank you for your cooperation.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Plugin hangs application solved’ is closed to new replies.

 * ![](https://ps.w.org/wp-security-audit-log/assets/icon-256x256.png?rev=2961534)
 * [WP Activity Log](https://wordpress.org/plugins/wp-security-audit-log/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-security-audit-log/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-security-audit-log/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-security-audit-log/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-security-audit-log/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-security-audit-log/reviews/)

## Tags

 * [Hangs](https://wordpress.org/support/topic-tag/hangs/)
 * [performance](https://wordpress.org/support/topic-tag/performance/)

 * 5 replies
 * 2 participants
 * Last reply from: [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-hangs-application-solved/#post-10233025)
 * Status: resolved