netgen / vagrant-ansible-ezpublish

Vagrant setup with Ansible provisioner configured for running eZ Publish projects
https://netgen.io
MIT License
23 stars 12 forks source link

Very slow on Windows #22

Closed baroso closed 6 years ago

baroso commented 8 years ago

eZ Platform is very slow on a Windows Vagrant box (localhost).

I know that the problem is with the shared folders sync, because it's very slow on Windows.

Does anybody else get this to work on Windows, or am I the only one trying to pull this off? You are mentioning Windows here - https://github.com/netgen/vagrant-ansible-ezpublish - so I assume, there must be someone else!?

As I'm also a .NET developer, I would like to continue working on Windows, but also develop in PHP/Symfony for Linux, and I would be grateful for a few pointers along the way!? I'm also very interested in attending the Summer Camp 2016!

Best regards ...

emodric commented 8 years ago

@baroso eZ Platform will work on Windows. The only thing that needs to be configured is how Stash caches files are calculated (use crc32 instead of md5).

As for slowness, I'll try to test it and figure out if it can be enhanced.

baroso commented 8 years ago

Thanks for the quick response.

I got it to work without errors on Windows, but it's very slow, every request is between 1000 and 13000 ms! Does the crc32 Stash setting has anything to do with the speed?

emodric commented 8 years ago

@baroso No, crc32 has to do with filesystem limitations on how long the path to cache file can be (up to 256 characters on NTFS)

alfaburro commented 8 years ago

Hi @baroso, did you make any progress regarding that slow installation in vagrant on windows? I am experiencing the same problem at the moment.

baroso commented 8 years ago

@mstra001, I haven't tried it since, because I've tried running eZ Platform via WSL (Bash) on Windows 10, although I'm facing other Problems there: Broken Symlinks

I'm attending the Web Summer Camp in a few weeks, where I will be installing a virtualized dev environment on preparation day ... we will see if that works!?

emodric commented 6 years ago

Closed in favor or https://github.com/netgen/vagrant-ansible-ezplatform.

Additionally, eZ Platform v2 observes SYMFONY_TMP_DIR server variable which can be used to set the path to Symfony var directory (the one that holds cache and logs dirs), which can be set manually if needed in the new repo.