I am running pure Ubuntu 22.04 on bare metal, not WSL.
I have created a brand new Laravel Sail proejct curl https://laravel.build/my-project | bash
For the first few minutes accessing http://localhost works fine and is fast, then all of sudden, everything goes really slow. It can take 30 seconds for a page to refresh, then all of sudden it is really quick again.
I am running AMD Ryzen 9 5950X 16-Core Processor with 128GB of memory and cpu usage is hovering just above zero and 113GB of Available memory.
`docker stats’ shows all containers using what I would consider a normal amount of memory and CPU.
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
97c4d8745f91 meetings-laravel.test-1 0.03% 82.41MiB / 125.7GiB 0.06% 193kB / 225kB 57.3kB / 300kB 3
5883114debc6 meetings-selenium-1 0.23% 225.4MiB / 125.7GiB 0.18% 16.5kB / 0B 0B / 31.6MB 67
75cd7506cdb1 meetings-redis-1 0.10% 3.441MiB / 125.7GiB 0.00% 16.5kB / 0B 0B / 0B 6
ddb11748709b meetings-mysql-1 0.25% 372.2MiB / 125.7GiB 0.29% 83kB / 99.6kB 459kB / 33.7MB 41
423f04be3e82 meetings-mailpit-1 2.27% 5.438MiB / 125.7GiB 0.00% 16.5kB / 0B 0B / 851kB 9
3caa4a35f074 meetings-meilisearch-1 0.12% 22.23MiB / 125.7GiB 0.02% 16.6kB / 0B 0B / 8.19kB 36
It feels as though the issue must be a really slow intermittent build process going on in the background. If it was a disk issue, I would imagine I would see it all the time.
I do see a lot people complaining about this issue in different forums, but they all using Windows and WSL, which again counts out the normal issue that is identified of slow disk access between windows and the WSL file system.
I have tried uninstalling and reinstalling docker.
I have patched the server
Rebooted numerous times.
Anyone got any ideas of what I can try to narrow down the issue.