• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue 504 gateway timeout only WordPress homepage

Adam Makowski

Basic Pleskian
Hi
I have a problem with long loading of pages, namely only the home page.
2 of these domains:

pages take a very long time to load and then throw 504 gateway timeout error
the interesting thing is that on these pages administration panel works and other subpages and only main page does not work
example: Blog Adam Makowski - work but homepage not...
example: Blog | FreelanceCrew - work but homepage not...

I use Dedicated PHP FPM - apache - nginx proxy

what I did to diagnose the problem:
1. change php version
2. reinstall php
3. change apache to ngnix
4. restart apache, nginx, php, server
5. reinstall wordpress, disable all plugins and themes
6. I have tried all the tutorials you provide on this subject

the problem still hasn't been solved
I also noticed a lot of php processes being created for these websites
 

Attachments

  • Screenshot 2022-02-28 at 20-25-08 Logi freelancecrew nl - Myft cloud.png
    Screenshot 2022-02-28 at 20-25-08 Logi freelancecrew nl - Myft cloud.png
    180.1 KB · Views: 4
Hi,

This sounds like a mod_security issue.
Have you tried to temporally disable mod_security for this subscription?

Web Application Firewall -> Web application firewall mode = off

Also check if the IP-address is blocked by fail2ban.
 
Yes i disable mod security and ip failban server-wide for all domains.
I also deactivated the security rules in the wordpress toolkit
nothing works...
I have 7 websites all working fine except for these 2
I can't find the cause anymore... it's frustrating
maybe its problem with php... when I increased values of max memory, max execution etc to cosmic values the main page works, but it loads about 30 seconds...
 

Attachments

  • apache1.png
    apache1.png
    154.5 KB · Views: 2
Back
Top