AbanteCart Community

Shopping Cart Operations => Support => Topic started by: garyfartsalot on September 07, 2022, 08:54:41 AM

Title: PHP High CPU
Post by: garyfartsalot 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?
Title: Re: PHP High CPU
Post by: abolabo on September 08, 2022, 03:00:50 AM
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.