Since a few days my Prestashop was quite slow... As we were in the progress of moving to TB it was not something I was worried of... Yesterday we moved over.... And the speed issue did not improve. The speed is sometimes ok and sometimes 30 sec for a page! As it became worse and wors and we had just an advertorial out also the customers increase slightly... But nothing out of the ordinary... I mean 7-to max 15 users together...
As it became so slow I asked a senior developer to have look into the server. It is costing me money.... The server is a VPS with 2 vCPU and 2 gig ram (centOS/whm/cpanel) ect... A decent server... He searched extensively and could not find the issue.... He came to the folowing advice:
That loading one page needed (to much) CPU. Opening a product page starts multiple processes on the load increases a lot... As one page has also advised other product but often not more than 5. This could be an issue....
That one module is slowing down everything...
It's difficult to remember what changes we did do most changes where nothing out of the ordinary... I think... We added one PWA app but disabled it as we were afraid this was the issue...
Some them tpl and css changes...
Anyhow the advice was, start clean and disable / enable modules to find the problem. But well this is not so easy as you can not really monitor the changes on a clone on the live server.... Or his other advice was take a clean instalation an buit the store up again adding one module and so on.... Also he mentioned overrides are a mess... so maybe start there....
The question is how can I see what module uses / needs so much CPU? How can I dig into this issue? Without buying a second VPS? Although, maybe I can rent one for a month.... Any trick to solve this issue quick?
Question
Smile
Since a few days my Prestashop was quite slow... As we were in the progress of moving to TB it was not something I was worried of... Yesterday we moved over.... And the speed issue did not improve. The speed is sometimes ok and sometimes 30 sec for a page! As it became worse and wors and we had just an advertorial out also the customers increase slightly... But nothing out of the ordinary... I mean 7-to max 15 users together...
As it became so slow I asked a senior developer to have look into the server. It is costing me money.... The server is a VPS with 2 vCPU and 2 gig ram (centOS/whm/cpanel) ect... A decent server... He searched extensively and could not find the issue.... He came to the folowing advice:
That loading one page needed (to much) CPU. Opening a product page starts multiple processes on the load increases a lot... As one page has also advised other product but often not more than 5. This could be an issue....
That one module is slowing down everything...
It's difficult to remember what changes we did do most changes where nothing out of the ordinary... I think... We added one PWA app but disabled it as we were afraid this was the issue...
Some them tpl and css changes...
Anyhow the advice was, start clean and disable / enable modules to find the problem. But well this is not so easy as you can not really monitor the changes on a clone on the live server.... Or his other advice was take a clean instalation an buit the store up again adding one module and so on.... Also he mentioned overrides are a mess... so maybe start there....
The question is how can I see what module uses / needs so much CPU? How can I dig into this issue? Without buying a second VPS? Although, maybe I can rent one for a month.... Any trick to solve this issue quick?
39 answers to this question
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