• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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