Gateway timeout 504 on nginx + apache

Started by PakPos, August 24, 2022, 08:13:29 AM

Previous topic - Next topic

PakPos

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

PakPos

solved
because disk r/w too slow under 100... avg at 30-40MB/s

Igor S.

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

overseer

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.

PakPos

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