Control Web Panel

WebPanel => Information => Topic started by: PakPos on August 24, 2022, 08:13:29 AM

Title: Gateway timeout 504 on nginx + apache
Post by: PakPos 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
Title: Re: Gateway timeout 504 on nginx + apache
Post by: PakPos on August 30, 2022, 04:05:25 AM
solved
because disk r/w too slow under 100... avg at 30-40MB/s
Title: Re: Gateway timeout 504 on nginx + apache
Post by: Igor S. 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/
Title: Re: Gateway timeout 504 on nginx + apache
Post by: overseer 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.
Title: Re: Gateway timeout 504 on nginx + apache
Post by: PakPos 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