Linux

How to fix Your connection has timed out, disable Folder Usage Count on file manager DirectAdmin

That error, "Your connection has timed out. Details. Consider disabling the Folder Usage Count," means
the DirectAdmin File Manager took too long to calculate folder sizes, causing the connection to drop, often due to large amounts of data on slow disks

Why it happens

 
  • Large files: Your server has many files, and the system struggles to calculate disk usage for folders quickly.
  • Slow disks: Accessing or counting large directories on a slow hard drive (HDD/SSD) takes excessive time, leading to timeouts. 
  •  
 
How to fix it (Admin needed)
  1. SSH into your server (using tools like PuTTY).

  2. Edit the DirectAdmin configuration file:

    • Run: echo "filemanager_du=0" >> /usr/local/directadmin/conf/directadmin.conf.

    • Alternatively, use a text editor: vi /usr/local/directadmin/conf/directadmin.conf and add filemanager_du=0 on a new line.

  3. Restart DirectAdmin:

    • Run: /usr/local/directadmin/directadmin set filemanager_du 0 restart or systemctl restart directadmin (depending on your system). 

Thanks for visit my website