Jump to content
Funny-Cat WebShop

Heavy CPU load when using PrestaShop 1.6 Administration interface with Google Chrome

Recommended Posts

Google Chrome version 39 and above generate a heavy CPU load on my dedicated server (Intel Xeon E3 1245v2 4c/8t 3.4 GHz+ / 32GB ram / 2x 120GB SSD) when I use Prestashop 1.6 administration interface.

If I use Internet Explorer version 11 the problem doesn't happen.

The odd behavior only started to happen with recent versions of Google Chrome, I always used Google Chrome and never noticed this behavior before. Been using this same server for one year.
 

This behavior only happens when I use the Administration interface (whatever tasks I perform), when me or the customers use the store (frontoffice) the CPU load is the normal (for the tasks) regardless of what browser is used.

 

 

Anyone else experienced this odd behaviour?

 

Share this post


Link to post
Share on other sites

I thought is was my hosting company, Arvixe, since they recently moved servers, so I blamed them.  But yes, I do see resources jump to +75% when I'm in the admin interface.  I also am on PS 1.6 and latest version of Chrome.

 

I believe they added compression and expiration headers to the .htaccess file which seems to have fixed the issue for now.  See the attached CPU usage.  The drop in resources corresponded to when they made the change to the .htaccess file.  post-824966-0-22076800-1420402378_thumb.png

Share this post


Link to post
Share on other sites

Can either of you post a screenshot of your back office. 

Share this post


Link to post
Share on other sites

Do you need a screenshot of any specific section of the backoffice?
I can post any specific screenshot you need just need to blur any customer and/or order info on it (if there's any).


In the meantime here's the screenshot of the Configuration Information screen.A-e-I_configuration.jpg

Share this post


Link to post
Share on other sites

No, that works, I was trying to see if your notifier was full. That will cause issues if you do not clear it. If possible I would install new relic on the server and trace it.

Share this post


Link to post
Share on other sites

New relic?
I guess I should have known what that is and what it does but unfortunately I do not, can you please elaborate?

 

I am guessing that Google changed something on recent builds of Chrome and that the setting causing this can be changed on Chrome but I am clueless about what it is.

When using the backoffice with Chrome and running "top -d 1" on the linux shell I can see that when I click on something (no matter what) on the backoffice it generates several process all using 70%+ of CPU and therefore if I keep clicking on stuff on the backoffice (example: seeing the orders content, one at a time) after a little while the server has a high load.
With IE this doesnt happen.

 

I will try to have a look at the apache logs at a time that there aren't customers using the store so that I can see more clearly what is Chrome doing/requesting on the backoffice that creates the load.

Share this post


Link to post
Share on other sites

New relic is a software that measures server / application interaction. It should be able to trace the issue. 

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More