-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0% CPU usage on docker container #207
Comments
Ok, I checked the source and found that pulse uses the |
It looks like this may be a limitation within |
I didn't test this on other base images like Ubuntu but using The problem with |
FWIW |
|
@jessarcher I don't know how but the
still the laravel pulse reports 0% CPU usage. |
Interesting - that output is formatted quite differently from what we're expecting. Most notably, the CPU line begins with "CPU:" but Pulse is expecting it to begin with "%Cpu(s):". Here's the output from
What version of On my host machine I have:
And in my Sail (Ubuntu) container I have:
Interestingly, they both have a different CLI option for getting the version, but both follow the same format for the CPU line. I'm guessing your version of |
@jessarcher yes the alpine uses BusyBox 1.36.1 for |
Hi @ariaieboy, I've created #236, which updates the parsing of the |
@jessarcher Can we have this in a tagged release so I can test it on my instances? |
|
Pulse Version
1.0.0-beta5
Laravel Version
10.x (latest)
PHP Version
8.2 (latest)
Livewire Version
3
Database Driver & Version
Postgresql 16 on docker container
Description
In a dockerized environment Laravel Pulse always reports 0% CPU usage.
Steps To Reproduce
create a laravel project using Laravel Sail and check the CPU usage.
The text was updated successfully, but these errors were encountered: