Symptoms
In some instances, the WP Toolkit can cause a high server load.
Description
Whenever this occurs, there will be a large number of wp-toolkit
processes such as the following:
wp-tool+ 1043166 99.6 0.4 855860 285240 ? R Apr13 1976:33 /usr/bin/sw-engine -d auto_prepend_file=/usr/local/cpanel/3rdparty/wp-toolkit/scripts/scheduled-task-prepend-file.php /usr/local/cpanel/3rdparty/wp-toolkit/plib/scripts/maintenance.php wp-tool+ 1260084 96.7 0.0 622972 35120 ? R Mar12 4964:31 /usr/bin/sw-engine -d auto_prepend_file=/usr/local/cpanel/3rdparty/wp-toolkit/scripts/scheduled-task-prepend-file.php /usr/local/cpanel/3rdparty/wp-toolkit/plib/scripts/instances-auto-update.php wp-tool+ 1832057 99.6 0.0 855860 50288 ? R Mar13 3411:16 /usr/bin/sw-engine -d auto_prepend_file=/usr/local/cpanel/3rdparty/wp-toolkit/scripts/scheduled-task-prepend-file.php /usr/local/cpanel/3rdparty/wp-toolkit/plib/scripts/maintenance.php
The "instances-auto-update.php", "Refresh" tasks hang if Reseller (A) is an owner of Reseller (B) and Reseller (B) is an owner of Reseller (A) and there is a WordPress instance with a vulnerability.
The WP Toolkit developers created case ID EXTWPTOOLK-9240 to address this issue in the future. When two reseller users are owned by each other it creates a loop in WP Toolkit operations. Please follow this article to determine when the issue has been resolved.
Workaround
Ensure multiple reseller accounts do not own each other.
- Either set the reseller to be owned by root or the account itself