Today i discover something in my c Panel Hosting account with my hosting company. I got Message in my File Count Dashboard:
Your account contains more than 9740 directories and may pose a potential performance risk to the server. Please reduce the number of directories for your account to prevent possible account deactivation.
In order to view the top 50 directories that have the most files, please navigate to your File Manager and navigate to the tmp directory, and then open the userquota file.
I just got trough the instruction and download my user quote file. What i see is WordPress Plugins like Jet Pack in my case make sub folders and this folders are count by the hosting accounts on Shared Hosting:
I go trough one of my websites in Jetpack Folder to see what i use exactly from this plugin and i discover something interesting
In this case i have 4 domain names with 4 WordPress Websites using Jetpack with 11 Modules Activated for example:
I go true /tmp folder to my shared host and download the user quote file which show all my files folders and discover something interesting. I do Search Jet pack in this file and found 473 folders created by the plugin. each folder have different file count and the total space which i will save after deleting this plugin from my folders is about 473 folders and 3272 files in my shared hosting.
If you use for installing your WordPress websites cpanel and automatic installation from it , you should take i look what you will install because some of the Hosting Providers install in your Plugin Dashboard Jetpack by Default and if you do not want to use the Plugin just deactivate the plugin or delete this plugin.
You can see the Actual folders created by JetPack for this 4 website. I was change the original name of the websites with names “website1”, “website2” , “website3” and “website4” and the original host name with “myserverfolder” for security purposes.
</p> <p class="alert">Search "Jetpack" (473 hits in 1 file) Line 63: 104 : /home1/myserverfolder/public_html/website2/wp-content/plugins/jetpack/languages Line 64: 104 : /home1/myserverfolder/public_html/website1/wp-content/plugins/jetpack/languages Line 66: 99 : /home1/myserverfolder/public_html/website4/wp-content/plugins/jetpack/languages Line 70: 94 : /home1/myserverfolder/public_html/website3/wp-content/plugins/jetpack/languages Line 73: 85 : /home1/myserverfolder/public_html/website4/wp-content/plugins/jetpack/modules/sharedaddy/images Line 74: 85 : /home1/myserverfolder/public_html/website3/wp-content/plugins/jetpack/modules/sharedaddy/images Line 75: 85 : /home1/myserverfolder/public_html/website2/wp-content/plugins/jetpack/modules/sharedaddy/images Line 77: 85 : /home1/myserverfolder/public_html/website1/wp-content/plugins/jetpack/modules/sharedaddy/images Line 136: 53 : /home1/myserverfolder/public_html/website4/wp-content/plugins/jetpack/_inc Line 148: 47 : /home1/myserverfolder/public_html/website2/wp-content/plugins/jetpack/modules </p> <p class="alert">
I decide to stop using this plugin in 4 of my websites and to make more space in my shared hosting account using less WordPress Plugins for the website and to write functions and theme codes for or each client needs. If you use a good host with no limitation like VPS or Dedicated Server you can use any WordPress Plugins you want, but if you or your client have Shared Hosting it is a good idea to use Less WordPress Plugins to prevent future problems with the websites and the Hosting account.