GabDT Posted June 16, 2020 Share Posted June 16, 2020 (edited) Hi everyone, we have a slow problem with our site. By doing various tests of the TTFB we noticed that the wait time is minimum 3-4 seconds and rises up to 20 seconds, I usually solve by restarting apache / mysql but after a short time the situation returns as before. We use Prestashop 1.6.1.22 with Warehouse theme on a dedicated server with 8 cores and 32GB of ram, and the catalog has about 5k products The situation is quite serious since we lose a lot of sales a day, and we would like to try to resolve the situation as soon as possible. Does anyone have any idea where this extreme slowness can come from? Edited June 19, 2020 by GabDT (see edit history) Link to comment Share on other sites More sharing options...
Prescol Posted June 16, 2020 Share Posted June 16, 2020 Probably some non well developed module is trying to request information from a slow server. You can check the time spent on each module by enabling PROFILING_MODE 1 Link to comment Share on other sites More sharing options...
musicmaster Posted June 18, 2020 Share Posted June 18, 2020 In case you didn't understand Prescol's suggestion: In config/defines.inc.php you should set '_PS_DEBUG_PROFILING_' to true. The result will be that below your pages you will see a long list of all the mysql calls being made and how long they took. Look for the one that took the longest. 1 Link to comment Share on other sites More sharing options...
GabDT Posted June 19, 2020 Author Share Posted June 19, 2020 The problem was due to some badly set cron jobs, which kept the server busy more than necessary. Now I have modified them and the site seems to be going well, thanks a lot for the help Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now