- Plesk for Linux
When opening a folder in File Manager, it loads for a long time and ends up in the following error:
PLESK_ERROR: 504 Gateway Time-out nginx
/var/log/plesk/panel.logfollowing error was found:
CONFIG_TEXT: ERR  ERROR: Maximum execution time of 600 seconds exceeded
The solution from this article did not resolve the issue.
The affected folder contains a lot of files (a couple of hundreds or more):
# ls -lha /var/www/vhosts/example.com/httpdocs/folder | wc -l
CONFIG_TEXT: [error] 10519#0: *6747 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 203.0.113.2, server: , request:
File Manager processes all files for a long time and this time exceeds specified FastCGI timeouts.
Connect to the server using SSH.
Increase the following values in the
# grep _timeout /etc/sw-cp-server/config
# service sw-engine restart
# service sw-cp-server restart
If it doesn't help increase