anshuwap / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

WebDav - Copy files problem on OSX 10.6.8 (Snow leopard) #322

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Mount a folder via WebDav on OSX Snow Leopard (10.6.8)
2. Copy file/folders
3.

What is the expected output? What do you see instead?
When I copy file or folders i get an "error 36" and the copy fail.

What version of the product are you using? On what operating system?
Ubuntu-Server 10.04.3 LTS
Mollify 1.8.4.3  
Apache/2.2.14
PHP 5.3.2-1ubuntu4.10

Please provide any additional information below.
I can create/delete/rename files without problems. It doesnt work only the file 
copying.

I already tried to mount the same folder (with the same account) to a windows 
pc and a OSX Lion (10.7.1) notebook and everything works fine: it seems a 
problem related to that specific OS

Original issue reported on code.google.com by n...@imboccioli.it on 18 Nov 2011 at 10:41

Attachments:

GoogleCodeExporter commented 9 years ago
I'd need debug log for the copy operation to see if there's some internal error.

Note that Finder generates _huge_ amounts of log, so clear the log file right 
before the copy operation, do the copy that generates the error, and then take 
the log file before doing anything else. Without this, it's too hard to find 
anything from the logs.

Original comment by samuli.j...@gmail.com on 20 Nov 2011 at 12:29

GoogleCodeExporter commented 9 years ago
I'm stressing the server and error I get are -36 and -41 in a seem-casual way
Those are the steps to reproduce it:
- Create an empty folder and go in it
- Drag in it some files (in my case 40 identical files - 3,9Mb total)
- It fails after 15-20 files

After the error is shown every new file I try to copy go south and the only way 
to solve is to disconnect and reconnect the drive

PS: If i try to copy the parent folder containing the files everything works 
fine
PS2: Same files/tasks works without problems on WindowsXP, and in OSX Lion the 
problem is also present but it happens later (maybe this test is more 
aggressive then the one I done while opening this issue). And now I dont have 
idea if it is related to OS or the hardware of the client. sob.  

I'm still working to reproduce the problem in a more precise way.

The log errors I get are

Nov 22 11:15:59 mac-mini webdavfs_agent[373]: (victim_node != ((void *)0)) 
failed; going to too_many_files_open; file: 
/SourceCache/webdavfs/webdavfs-293.3/mount.tproj/webdav_cache.c; line: 472

and

Nov 22 11:16:56 mac-mini com.apple.launchd[1] (com.apple.SystemStarter): Failed 
to count the number of files in "/System/Library/StartupItems": No such file or 
directory

Original comment by n...@imboccioli.it on 22 Nov 2011 at 11:57

GoogleCodeExporter commented 9 years ago
The problem seem related to an incorrect communication between Finder and the 
server since the files get keeped open locally in 
/private/tmp/.webdavcache.SOMETHING

"lsof" show all those files and the process stop when num_files (stsctl -a | 
grep num_files) hit 1070 

Original comment by n...@imboccioli.it on 22 Nov 2011 at 1:23

GoogleCodeExporter commented 9 years ago
WebDAV plugin has been updated to new version of SabreDAV

Original comment by samuli.j...@gmail.com on 25 Nov 2011 at 3:33