Hi everyone seems lately I have big trouble downloading Backup from Backup Manager , I am not sure if this happen after some plesk update but a couple of week ago everything was just fine , however I tried to figure out the problem without success and I would appreciates some help
This is the scenario :
I try to download a 7.44 GB backup from Backup manager and after 10 minute (600sec) I get Bad gateway 504 nginx
lessss /var/log/sw-cp-server/error_log
Check the error log an appear the follow :
googling around seems to be timeout problem related to nginx so I modify the following configuration
/etc/nginx/nginx.conf
After
/etc/php-fpm.d/www.conf
Service httpd Restart and Service nginx Restart ...but nothing happen still the same as before ,
sudo nano /etc/php.ini
Service httpd Restart and Service nginx Restart still the same after 10 minute I still get Bad gateway 504 nginx and still not able to download the backup
Please someone can help me out ...tHX
This is the scenario :
I try to download a 7.44 GB backup from Backup manager and after 10 minute (600sec) I get Bad gateway 504 nginx
lessss /var/log/sw-cp-server/error_log
Check the error log an appear the follow :
Code:
[error] 23401#0: *1762 upstream timed out (110: Connection timed out) while reading response header from upstream, client: MY.IP.ADDRES, server: , request: "POST /smb/backup/download-dump/domainId/1?_randomId=812854 HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock", host: "MY HOSTNAME", referrer: "https://MY DOMAN/smb/backup/local-repository/domainId/1?_randomId=512690"
googling around seems to be timeout problem related to nginx so I modify the following configuration
/etc/nginx/nginx.conf
Code:
http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#tcp_nodelay on;
#gzip on;
#gzip_disable "MSIE [1-6]\.(?!.*SV1)";
proxy_connect_timeout 1200;
proxy_send_timeout 1200;
proxy_read_timeout 1200;
send_timeout 1200;
fastcgi_read_timeout 1200;
fastcgi_buffers 8 128k;
fastcgi_buffer_size 256k;
server_tokens off;
include /etc/nginx/conf.d/*.conf;
}
# override global parameters e.g. worker_rlimit_nofile
include /etc/nginx/*global_params;
After
/etc/php-fpm.d/www.conf
Code:
request_terminate_timeout = 1200
Service httpd Restart and Service nginx Restart ...but nothing happen still the same as before ,
sudo nano /etc/php.ini
Code:
max_execution_time = 0
max_input_time = 1200
Service httpd Restart and Service nginx Restart still the same after 10 minute I still get Bad gateway 504 nginx and still not able to download the backup
Please someone can help me out ...tHX
- OS: CentOS 6.2 (Final)
- Plesk version: 12.0.18 Update #78