Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: PHP High CPU  (Read 2406 times)

Offline garyfartsalot

  • Newbie
  • *
  • Posts: 23
  • Karma: +1/-0
    • View Profile
« on: September 07, 2022, 08:54:41 AM »
Site has slow server response time and after running atop im noticing PHP hogging the CPU. See attached image

Any ideas how to resolve this?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2051
  • Karma: +320/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: PHP High CPU
« Reply #1 on: September 08, 2022, 03:00:50 AM »
just install xdebug php-ext and create profile.
See for details.
Then open profile in the KCachegrind or some other profile analizer(for example phpstorm) and check what part of code run slow.

I don't see any other way to check.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens


Powered by SMFPacks Social Login Mod