I have been developing on a magento2 docker env (warden) environment for weeks with no problems. Development mainly on the frontend in developer mode, deactivating only the full_page, block_html and layout caches. Normally the site loaded at an acceptable time (20-30 seconds) while clearing the entire cache it loaded in 50-60 seconds.
Suddenly the environment became extremely slow. Each page loads in about 10-15 minutes, both on frontend and on backend and the CPU usage goes to the max value (there are always at least 5-6 processes php-fpm that consume the maximum available cpu). The browser loads 10 static files at a time (every 30 sec)
I tried to clean up all files, clear all caches and restart the static-content:deploy and di:compile but the environment continues to be extremely slow.
I have no active external modules and there are no particular errors on the logs.
Is there any particular parameter that can cause these problems?
EDIT: Another strange behavior is that inside the container there are about 20 php-fpm processes running and they all consume a lot of CPU. it is as if the php processes were struggling to generate static files in developer mode but I don't understand why.