Author Topic: Gateway timeout 504 on nginx + apache  (Read 831 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
Gateway timeout 504 on nginx + apache
« on: August 24, 2022, 08:13:29 AM »
hello all
i got Gateway timeout 504 on nginx + apache
but if i use apache only everything going well

same with varnish+nginx+apache...

i use free cloudflare

any idea how to fix it ?
if i disable proxy from cloudflare everything run well

Offline
***
Re: Gateway timeout 504 on nginx + apache
« Reply #1 on: August 30, 2022, 04:05:25 AM »
solved
because disk r/w too slow under 100... avg at 30-40MB/s

Offline
*****
Re: Gateway timeout 504 on nginx + apache
« Reply #2 on: September 09, 2022, 03:37:43 PM »
First of all you have to check the website's error log in /usr/local/apache/domlogs/
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
**
Re: Gateway timeout 504 on nginx + apache
« Reply #3 on: January 07, 2023, 11:06:56 PM »
Anecdotally, nginx seems more like that canary that is prone to producing 504 gateway errors. I have had few errors with apache-based servers. My server which uses nginx produces them far more frequently -- enough to be noticeable, for sure.

Offline
***
Re: Gateway timeout 504 on nginx + apache
« Reply #4 on: January 08, 2023, 08:03:53 AM »
this is only happen to me.. IF ... the IO write full
50x more like server problem


with same file
same location
i try the nvme, the 50x error are gone


now they back since i back to regular "ssd" vps