Title: Server error 504
Last modified: November 23, 2024

---

# Server error 504

 *  Resolved [Peter P.](https://wordpress.org/support/users/pieruschka/)
 * (@pieruschka)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/server-error-504/)
 * Very useful plugin! I have a problem with a huge number of small files on my 
   file system for which I tried to use Disk Usage Insights to pin down where exactly
   the issue is (i.e in which directory all those files are). Disk Usage Insights
   analyzes for a few minutes and then comes up with the 504 error, and no result
   lists. Is this because it takes too long to analyze my file system? Can I somehow
   restrict what Disk Usage Insights does so that it comes back before the 504 and
   I can finally find the directory that contains the many many little files? Thank
   you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fserver-error-504%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Marcel Gleis](https://wordpress.org/support/users/mgleis/)
 * (@mgleis)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/server-error-504/#post-18159310)
 * Hey Peter,
 * oh, I knew this problem could come. But I did not expect it so early 😉 I have
   an idea to prevent this in the future, but I can’t offer this in the near future,
   I have to work on it!
 * But maybe I can help you:
    - After how many seconds does this error occur? Can you measure it with a stopwatch?
    - Technical question: do you know which max_execution_time you have set in your
      hosting environment? Can you change it?
       * Otherwise you can install this plugin: [https://wordpress.org/plugins/wp-maximum-upload-file-size/](https://wordpress.org/plugins/wp-maximum-upload-file-size/)
       * and change the “Maximum Execution Time” temporarily to 36000 (see [https://ps.w.org/wp-maximum-upload-file-size/assets/screenshot-1.png?rev=3190582](https://ps.w.org/wp-maximum-upload-file-size/assets/screenshot-1.png?rev=3190582))
       * Did that help?
 * btw: help me spread the word about this plugin and submit a rating here: [https://wordpress.org/support/plugin/disk-usage-insights/reviews/#new-post](https://wordpress.org/support/plugin/disk-usage-insights/reviews/#new-post)
    -  This reply was modified 1 year, 6 months ago by [Marcel Gleis](https://wordpress.org/support/users/mgleis/).
 *  Plugin Author [Marcel Gleis](https://wordpress.org/support/users/mgleis/)
 * (@mgleis)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/server-error-504/#post-18208407)
 * Hey Peter,
 * I’ve just publishd version 1.2 which is a complete rewrite of the tool. Now the
   timeout problem should not occur anymore!
 * Thanks, Marcel
 *  Thread Starter [Peter P.](https://wordpress.org/support/users/pieruschka/)
 * (@pieruschka)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/server-error-504/#post-18209003)
 * Hi Marcel, much appreciated! And my apologies for not coming back to you earlier.
   The problem was in my case a dysfunctional buffering plugin that kept creating
   loads of tiny files until my quota for the maximum number of files on the provider’s
   file system was exhausted. As I did know what was going on I wanted to use your
   plug to analyze where the pathologically high number of files was located on 
   my file system – but your plugin also ran into limitations because no matter 
   how many files I kept deleting, the buffer files were faster than me. Anyway,
   thank you for making your plugin even more robust. Keep up the good work, Peter
 *  Plugin Author [Marcel Gleis](https://wordpress.org/support/users/mgleis/)
 * (@mgleis)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/server-error-504/#post-18211065)
 * Glad you found the root cause!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Server error 504’ is closed to new replies.

 * ![](https://ps.w.org/disk-usage-insights/assets/icon-256x256.png?rev=3138317)
 * [Disk Usage Insights](https://wordpress.org/plugins/disk-usage-insights/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/disk-usage-insights/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/disk-usage-insights/)
 * [Active Topics](https://wordpress.org/support/plugin/disk-usage-insights/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disk-usage-insights/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disk-usage-insights/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Marcel Gleis](https://wordpress.org/support/users/mgleis/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/server-error-504/#post-18211065)
 * Status: resolved