I have been using vagrant boxes with virtualbox provider and debian + docker inside for web development on a windows 10 host machine for several years now with many different vagrant boxes on a daily basis. For developing I am of course using shared folder to access the application code inside the box from my IDE.
First it was painfully slow, then I applied all the speed up measures, like installing and using NFS for windows (vagrant-winnfsd) and moving any log and cache directories out of the shared folder. This way the rendering times of the apps decreased x100. I was able to achieve 0.1 sec rendering time for e.g. a Symfony made API endpoint and consistent subsecond rendering times for e.g. a large TYPO3 driven webpage. It was a great time to work, very smooth. Now since several weeks for unknown reasons, it became slow again. Not as slow as without winnfsd, but at least 10x slower than during the best times. I see the NFS log rolling but slowly. Sometimes I am even able to actually read the logs while rolling. Often, I get 504 gateway timeout and have to reload once or twice to render an uncached page for the first time, the cached version needs then more than 2 seconds to render (as comparison 0.2 sec when deployed to a VPS). It does not change after I deactivate defender antivirus and firewalls (exceptions for winnfsd or the shared_folders are of course in place anyway) or after closing the IDE (which might make some indexing inbetween). I did already update vagrant and virtualbox as well as all the plugins and virtualbox server additions inside the vagrant box. Yestarday I even tried vagrant VMWare provider instead of virtualbox, which of course worked as expected but the same slow NFS - no major difference noticed. What can I do to find out what the reason is? Which tools can I use to analyse/debug the NFS traffic? Did someone face the same problem successfully solved it? -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/3c2c5e38-3f41-4942-b99b-631bfd46c30e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
