WebDav fails or gets really slow using Windows mapped Drives or WebDav Clients
Hello,
I hope this is the correct area to post this Issue. I tried to find similiar Issues with the Search here and with google but i couldn't find any.
I am experiencing the following Issue(s) when I'm trying to either map the Owncloud WebDav Interface via Windows Explorer or with a WebDav Client like Cyberduck:
The Connection to the private area of the User works almost instant and without any Problems, but as soon as i navigate to Shared, it takes around 15 Seconds to load the contents of the Directory (there are 12 Folders). When I now try to navigate even deeper it either takes several Minutes to load the contents or it fails completly, while Windows tells me the Network Path is not available. When i try to access the WebDav Interface with Firefox or with cadaver it takes only around 2 seconds to load the Folders.
I'm not sure how i can further debug this Issue, the only errors i can find in the Owncloud Log are:
Fatal webdav Sabre_DAV_Exception_NotFound: File with name desktop.ini could not be located Fatal webdav Sabre_DAV_Exception_NotFound: File with name Shared/desktop.ini could not be located Fatal webdav Sabre_DAV_Exception_NotFound: File with name Shared/folder.jpg could not be located Fatal webdav Sabre_DAV_Exception_NotFound: File with name Shared/folder.gif could not be located Debug OC\Files\Cache\Scanner !!! Path 'Vi Projects/folder.gif' is not readable !!! Debug OC\Files\Cache\Scanner !!! Path 'Vi Projects/desktop.ini' is not readable !!!
The Folder "Vi Projects" is directly within the Shared folder, there are no such files as "folder.gif, folder.jpg or desktop.ini". When I browse to those location using the normal Owncloud Browser Interface i dont get any errors. Also syncing the Files using the Owncloud Sync Client is working without any Problems. Files and Folders are readable. As soon as i navigate to the Directorys below Shared, one Apache process jumps up to 100% CPU of 1 of the 6 CPU Cores and the database jumps to ~25%.
My Setup: XenServer virtual Host, 6CPU-Cores 8GB RAM, Gigabit Ethernet. Owncloud 6.0.3 Debian 7 PHP 5.4.4-14+deb7u9 MariaDB 5.5 Apache The Cloud contains around 200GB of Files
It looks like this report is mostly about the "Shared" dir being slow, in which case it is a duplicate of #5216
CC @schiesbn
How many files to you have under "/Shared" and also the subdir that takes several minutes ?
There are alot of Files and Folders in the Subdirectorys. There is also one Folder in the /Shared Directory which only has 4 Files in it, but it also takes around 30 Seconds to load the Contents. The Shared Folder only has 12 Folders in it.
@PVince81 for your info: Regarding the log Debug OC\Files\Cache\Scanner !!! Path 'Vi Projects/folder.gif' is not readable !!! I have filed a issue in https://github.com/owncloud/gallery/issues/43 where I highlight in the second comment that this log text should be adopted for better understanding the problem.
Regarding the files: desktop.ini and folder.{jpg, gif}, these files have nothing to do with owncloud and are windows related. Windows requests these files on (first?) folder access where I think they contain folder icons and folder layout. If not present, nothing happens, just logged in owncloud. Totally annoying.
I am having exactly the same problem reported here. Browsing shared folders with Windows 7 default file explorer is extremely slow. However, browsing webdav own user' folders works like a charm. The problem seems to be when a user access a folder he/she does not own (it has been shared with him/her). I am connecting as a network drive, since I couldn't connect to my webdav as a Webfolder.
I have also tried disabling thumbnails for files and folders. It speeds up browsing a little bit, but it still takes a lot to list any folder contents.
On the other hand, in Linux I have had no problems with any file manager. In Windows XP, connecting using Webfolders (yes, Windows XP had no problem with it), it's a bit slower than Linux, but much much faster than Windows 7. In fact, in Windows XP, this is very usable.
@viasys @gonetil Please update to a more recent version of ownCloud like 8.0.5 or 8.1.0 because many performance enhancement landed in there. If the problem still exists you can report back here and we will reopen the ticket.
Thanks