I have too often now a lot of CPU usage, near 100%, and some PHP processes are eating it.
Most errors in the log are related to this:
2024/08/21 07:39:05 [error] 1190#1190: *13820741 FastCGI sent in stderr: “PHP message: PHP Warning: math: illegal characters in /home/noksrs/www/app/lib/vendor/smarty/smarty/libs/plugins/function.math.php on line 76” while reading response header from upstream, client: 109.245.227.85, server: noks.rs, request: “GET /keramickeplocice/bond-wood-decofon-40x120cm/ HTTP/1.1”, upstream: “fastcgi://unix:/var/run/noksrs_php-fpm-74.sock:”, host: “noks.rs”
I’m not sure that a PHP Warning will cause high CPU but there is a post, from last year, concerning your issue. There isn’t a fix in the post but hopefully @CS-Cart_team remembers and knows.?
Yes, there is no answer in that topic, but hopefully someone will have some idea.
PHP warning will not cause a lot of CPU usage by itself, but when I asked server technicians they say that high CPU is because lot of PHP processes and they send me that image that is attached showing that first line. After they do some reset to PHP CPU is normal, but few hours later same problem…