503 is temporarily unavailable on WP

I get a โ€œ503 service temporarily unavailableโ€ on my wordpress site. The site often takes a long time to respond, and then sent me this error.

I contacted my host (hostgator) and they said that I should update my scripts for better performance. This is the server log they sent me, Server Logs

This is what they said.

The problem you are facing is mainly related to the number of fcgi processes that your site is running at the same time.

We allow 3 child processes and for each child process 256 work processes. As soon as this limit is violated, you will see such an error. However, these errors are automatically fixed after reducing the number of processes. You need to optimize your website scripts to permanently fix this problem.

I do not have plugins on the server that could trigger this. Therefore, I rule out a plugin error. I tried changing the theme to the standard version of Twenty Fourteen without help.

I am not a PHP encoder, I just know how Wordpress and the basics of HTML work. What am I doing wrong here? I searched everywhere for a possible solution, but no one worked in favor. Please let me know if I need to provide any other information for you.

CPanel statistics

  • "Using virtual memory 107.2 / 1024 MB
  • Using physical memory 171.8 / 1024 MB
  • Input Processes 5/20 "

This website is here, theinsight.co.in Thank you :)

+5
source share
1 answer

Hostgator has different hosting packages. If you use a hatching plan, it means that you are limited to only 25 processes. If your website initiates more than 7 different processes, websites start to behave badly, because it can load very slowly, and when it exceeds more than 15-17 processes, you will start to receive 503 questions. The best solution is to use caching, because if you do not cache, each user will request a new page from your site, which will start a new process for each user to deliver a new web page. After installing any cache plugin, such as Supercache or W3TC, follow .htaccess rules.

0
source

Source: https://habr.com/ru/post/1210467/


All Articles