News:

AbanteCart v1.4.2 is released.

Main Menu

PHP High CPU

Started by garyfartsalot, September 07, 2022, 08:54:41 AM

Previous topic - Next topic

garyfartsalot

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?

abolabo

just install xdebug php-ext and create profile.
See https://xdebug.org/docs/profiler 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

Forum Rules Code of conduct
AbanteCart.com 2010 -