Jump to content

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?

 

Link to comment
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

Link to comment
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.

Link to comment
Share on other sites

×
×
  • Create New...