• Hi,
    We have been facing a peculiar issue. We asked on various other forums etc and few people said it is to do with your server or maybe WordPress bugs with NewsPaper theme.

    https://prnt.sc/1qd42pc

    We get 504 error 10-15 mins randomly and then the site comes back up. What could be the issue?
    We checked DNS maps too, that is fine.

    Stunning thing is we found nothing in the WordPress error logs. Am not sure why is this happening, can anyone help?

    Website: [ redundant link removed ]

    • This topic was modified 3 years, 3 months ago by Yui.
    • This topic was modified 3 years ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • This can happen if the server memory is getting exhausted. If that is the reason then short term solution is to add following constant in your wp-config.php file and see if that helps.

    define( 'WP_MEMORY_LIMIT', '1024M' );

    Long term solution is to review your theme/plugin code, check which are the slow queries and optimise the code base to remove any bottlenecks.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress, site goes down, getting 504 error’ is closed to new replies.