boa icon indicating copy to clipboard operation
boa copied to clipboard

Extremely slow performance for logged in users

Open kaszarobert opened this issue 5 years ago • 1 comments

Drupal 8 sites' speed is okay with page_cache for anonymous users. But if someone logs in, the performance of the sites drops hugely. Logged in users are experiencing 5-7 seconds of average page loads even when the Dynamic Page Cache and Redis modules are enabled. On localhost, in a non BOA development environment, the same pages are loading under a fraction of a second (With the same amount of content in the database - we imported the database dump from the production server where the slowdowns occur).

Please give us a few tips on how could we investigate what is causing this major bottleneck.

boa info output: https://gist.github.com/kaszarobert/ad03fc351ebc1f002da37da3ba23e630

kaszarobert avatar Nov 09 '20 15:11 kaszarobert

I know it's an old issue, but I would start with php slow logs in the /var/log/php and then find if you have a problem with host blocking access to itself. Drupal depends on the ability to contact itself via web requests and some hosts block this kind of loop-access.

omega8cc avatar May 08 '23 19:05 omega8cc