About once per hour
Is it on regular basis? I mean, peaks happen on 15th minute of every hour, for example? Or totally random?
What htop shows when CPU usage goes high? Which process consumes CPU?
I’m running into a strange performance issue with the Laravel scheduler and I’m trying to understand what’s going on.
Framework: Laravel 12 PHP: 8.2 Web server: Apache on Linux
"require": { "php": "^8.2", "ext-curl": "", "ext-openssl": "", "firebase/php-jwt": "^6.11", "laravel/framework": "^12", "laravel/telescope": "^5.5", "laravel/tinker": "^2.10", "stancl/tenancy": "^3.9.1" }, There is a fresh laravel install: The scheduler is triggered in the system’s cron like this:
There are no scheduled tasks When I check the scheduler, I get this: $ php artisan schedule:list INFO No scheduled tasks have been defined.
What I actually see: CPU is mostly fine. About once per hour, CPU usage goes high for a short period (a few minutes). This pattern only exists while schedule:run is enabled.
I also can provide more data by request. I have CPU chart and more details about the instalation
Please or to participate in this conversation.