How does it work?
We’ve often encountered a situation where scanning the server for WordPress sites made the WP Toolkit completely unresponsive. After some digging, we found that, most of the time, it is malware infection on one or more WordPress sites on the server that causes this problem. This caused WP Toolkit not to properly access certain important files. So it was doomed to eternally wait for files, while not responding to any commands.
To address this issue, we added a reasonable timeout for certain WP Toolkit operations. The suspicious WordPress websites that WP Toolkit finds now go into quarantine mode:
1. Email notification is being sent. Notification text and recipients can be configured under Tools & Settings > Notifications > "WordPress installation is quarantined" for admin/reseller/customer.
2. WP Toolkit mark website as "Quarantined" under the WP Toolkit (see image above).
3. WP Toolkit will skip website from all the automatic tasks such as an update and etc.
What if it is not a malware?
I receive notifications, but websites are not infected by malware, what can be done?
This might be caused by performance issues on one or several websites. For example, a plugin might continuously run a cron task which causes the timeout, which in turn causes the quarantine. Try increasing the value of the following option in the panel.ini file:
CONFIG_TEXT: [ext-wp-toolkit]
wpCliTimeoutRegular = 180
wpCliTimeoutMaintenanceTimeout = 180
Comments
1 comment
When you try to change these two settings in a WHM/cPanel environment by following the guide at https://support.cpanel.net/hc/en-us/articles/4420208824727-How-To-Modify-WP-Toolkit-Setting-Options-From-The-Command-Line-
You receive the following:
Unable to set read-only configuration option "wpCliTimeoutRegular"
Unable to set read-only configuration option "wpCliTimeoutMaintenanceTimeout"
Please sign in to leave a comment.