O
O
Otrivin2018-05-11 17:43:01
PHP
Otrivin, 2018-05-11 17:43:01

Why does my drupal website slow down?

Hello!

There is a group of sites on cms Drupal. There was a virus attack; after cleaning from viruses, they were updated to version 7.58. From that moment on, I noticed brakes on the sites: the time from the beginning of the page request to the server response is from 7 to 10 seconds. Below is a graph with gtmetrix:

Schedule
5af5a776ac4cd928714207.png

Link to the full report: https://gtmetrix.com/reports/bor.helpnarco.ru/yNyr5UL6

XHProf profiler was connected to the hosting TP; The "PDOStatement::execute" function turned out to be the most gluttonous for the execution time - it took almost 11 seconds. As I understand it, PDOStatement::execute works with the database.

Screenshot XHProf
5af5a9cf51af5693910013.png

Screenshot of PDOStatement::execute report
5af5a9fa42322766636252.png

Call graph screenshot
o6dw27va.png


Is it possible to conclude from this data whether the problem is in the site (or even in some particular section of the code) or the problem is in the hosting? I have no experience in using this tool, but I did not find any third-party "crooked" function left after cleaning from viruses or in some additional Drupal module that takes so much time.

Hosting - beget, contacted technical support - they said that the problem was not on their part.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AnveCloudTechs, 2019-04-20
@AnveCloudTechs

Simple optimization required. Search Google/Yandex.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question