Search Our Database

How to disable folder disk usage in file manager for DirectAdmin

Last updated on |

Introduction

If you are getting Your connection has timed out, disable Folder Usage Count when access File Manager in DirectAdmin, you may disable folder disk usage to resolve it. Disabling folder disk usage in DirectAdmin’s file manager improves performance by preventing real-time calculations of folder sizes, especially useful for servers with many files and directories. Learn how to disable folder disk usage calculation in DirectAdmin’s file manager to enhance file management performance. Ideal for server administrators managing large file systems.

Important Note: Disabled folder disk usage will let DirectAdmin hide the true size of directories. This will also affect the API for the File Manager.

 

Prerequisite

  • SSH access to server with root privilege
  • Basic knowledge of Linux/Unix commands
  • Basic knowledge of DirectAdmin features

 

Step-by-Step Guide

Step 1: Access Your Server via SSH

  • Access your server via SSH. Then run command below to gain root privilege.
    sudo su -

Step 2: Disable folder disk usage

  • Edit the DirectAdmin configuration file by the command below.
    vi /usr/local/directadmin/conf/directadmin.conf
  • Press i to enter edit mode.
  • Then set from filemanager_du=1 to filemanager_du=0. If the directive does not exist, you can manually add it.
    filemanager_du=0

  • Press ESC then enter :wq to save the new configuration.
  • Restart DirectAdmin service by running the command below.
    systemctl restart directadmin

 

Step 3: Verify the changes

  • Before disabled folder disk usage

 

  • After disabled folder disk usage

 

Conclusion

By following this guide, you will disable folder disk usage in DirectAdmin, improving performance in file management tasks on your server.

 

For additional assistance or if you encounter any issues, please contact our support team at support@ipserverone.com.