Thread:Project:Support desk/Special:ListFiles too large; results in timeout... narrow results?

Hi all - We have an enormous amount of uploaded files (6.5-plus GB). As a result, when you navigate to the Special:ListFiles page, the query takes too long to execute and times out -- either with a MySQLi timeout error or server error.

The PHP memory limit is maxed out and I upped the execution time in both LocalSettings and php.ini, but it doesn't solve the problem. I'm able to view the page using the filter &limit=50, but even then it takes a LONG time and will still time out. 1) What's the default limit on this page? I'm guessing if it's over 50, it just takes too long to query. 2) Is there way to set a limit so when someone visits Special:ListFiles, it limits the first page to the first 50 results? Thank you! -KC