0

I have a larvel app that runs very smooth and quick on my localhost, but when I push it to my server and run the deployment environment there (same as on my localhost), sometimes the app is very slow and in htop I see:

/us/bin/php8.1 -S 0.0.0.0:80 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/../resources/server.php

The path /var/www/html/ does not exist in my host - I assume this is the binded past in the sail container.

I'm running the latest Laravel & Sail.

The CPU Usage is 100% and the server specs are: 4vCPU with 8 GB RAM. In docker stats I see a CPU usage of ~105%.

The question is: How can I debug this process? I want to know, what behind that process creates such a high peak.

If you need any further information about my setup, let me know and I'll keep this question up to date.

Btw: I noticed, but maybe it's not true, this happens, when a Livewire component is displayed. But could be misleading.

0 Answers0