Dear Community,
I am currently working on a new and free cPanel Plugin. To goal is to incorporate a number of cleanup and optimization tasks that can enhance the performance of your server. Most of these actions are to be run for all users on the server.
I currently have the following actions implemented / planned:
Remove Logaholic History
Action: Checks if the server and/or user has Logaholic on. If not, it will remove the folder in /var/cpanel/userhomes/cpanellogaholic/ (cPanel 11.40+)
Reason: Each entry in /var/cpanel/userhomes/cpanellogaholic/ contains thousands of files. These files are also backed up, can grow huge and take a long time to process. On one server I removed 100 000+ files, saved a few GB and reduced server backup time by 45 mins.
.htaccess ErrorDocument fixing
Action: searches .htaccess for ErrorDocument <Number> http://something entries and removes them.
Reason: these entries cause errors in the Apache log
Deactivate WordPress cron
Action: Searches for wp-config.php and checks if "DISABLE_WP_CRON" is in there. If not, it inserts the line and configures a cron to run once a day t a random time.
Reason: WordPress cron can cause high sever load
error_log cleaning
Action: Searches for error_log files and removes them.
Reason: error_log files can become very large over time
I'm planning to release a first beta version soon. If you would like to try it out already feel free to send me a DM.
I am however looking for more "performance tasks" to implement. If there are any scripts, commands or actions that you regularly run on your servers, please let me know. I will then try to implement them in one easy plugin for all to use.
For those wondering: yes, my customers were / are informed of these actions before I ran them.
I am currently working on a new and free cPanel Plugin. To goal is to incorporate a number of cleanup and optimization tasks that can enhance the performance of your server. Most of these actions are to be run for all users on the server.
I currently have the following actions implemented / planned:
Remove Logaholic History
Action: Checks if the server and/or user has Logaholic on. If not, it will remove the folder in /var/cpanel/userhomes/cpanellogaholic/ (cPanel 11.40+)
Reason: Each entry in /var/cpanel/userhomes/cpanellogaholic/ contains thousands of files. These files are also backed up, can grow huge and take a long time to process. On one server I removed 100 000+ files, saved a few GB and reduced server backup time by 45 mins.
.htaccess ErrorDocument fixing
Action: searches .htaccess for ErrorDocument <Number> http://something entries and removes them.
Reason: these entries cause errors in the Apache log
Deactivate WordPress cron
Action: Searches for wp-config.php and checks if "DISABLE_WP_CRON" is in there. If not, it inserts the line and configures a cron to run once a day t a random time.
Reason: WordPress cron can cause high sever load
error_log cleaning
Action: Searches for error_log files and removes them.
Reason: error_log files can become very large over time
I'm planning to release a first beta version soon. If you would like to try it out already feel free to send me a DM.
I am however looking for more "performance tasks" to implement. If there are any scripts, commands or actions that you regularly run on your servers, please let me know. I will then try to implement them in one easy plugin for all to use.
For those wondering: yes, my customers were / are informed of these actions before I ran them.
Last edited: