Moving to a new server

happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: Moving to a new server

Post by happydg »

When i go to Admin - Groups: /scj/admin/?operation=rotation&sub=rot_groups&

I loads for a while then go to "504 Gateway Time-out Nginx". If i reload the page a second time it works with no waiting time.

Code: Select all

2016/09/21 15:28:24 [error] 18867#0: *159 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 81.56.74.68, server: domain.com, request: "GET /scj/admin/?operation=rotation&sub=rot_groups& HTTP/1.1", upstream: "http://127.0.0.1:8080/scj/admin/index.php?operation=rotation&sub=rot_groups&", host: "domain.com", referrer: "http://domain.com/scj/admin/?operation=rotation&sub=rot_sponsors&"
I have nginx for static files and apache for php and htaccess files.

All other pages in admin ( even list thumbs ) are working fine.
admin
Site Admin
Posts: 37233
Joined: Wed Sep 10, 2008 11:43 am

Re: Moving to a new server

Post by admin »

It has to calculate amount of galleries for each group to show the pages
looks like you have a lot of galleries or server iis very loaded
Don't forget to run script update
Post Reply