I have three files which are synced every 10 minutes (that’s how long a scan 
takes through my ~2000 directories). One of them is as follows, the other files 
are not checked.

03-11 11:08:28:414 csync_ftw: Uniq ID from Database: path/.file.ext.~5j96cr -> 
<NULL>
03-11 11:08:28:414 csync_walker: file: 
/Users/marcel/ownCloud/path/.file.ext.~5j96cr
03-11 11:08:28:414 _csync_detect_update: path/.file.ext.~5j96cr excluded  (2)
03-11 11:08:28:414 csync_ftw: Uniq ID from Database: path/.file.ext.~9bvgu0 -> 
<NULL>
03-11 11:08:28:414 csync_walker: file: 
/Users/marcel/ownCloud/path/.file.ext.~9bvgu0
03-11 11:08:28:415 _csync_detect_update: path/.file.ext.~9bvgu0 excluded  (2)
03-11 11:08:28:415 csync_ftw: Uniq ID from Database: path/.file.ext.~bjl12l -> 
<NULL>
03-11 11:08:28:415 csync_walker: file: 
/Users/marcel/ownCloud/path/.file.ext.~bjl12l
03-11 11:08:28:415 _csync_detect_update: path/.file.ext.~bjl12l excluded  (2)
03-11 11:08:28:415 csync_ftw: Uniq ID from Database: path/.file.ext.~c0a2o8 -> 
<NULL>
03-11 11:08:28:415 csync_walker: file: 
/Users/marcel/ownCloud/path/.file.ext.~c0a2o8
03-11 11:08:28:416 _csync_detect_update: path/.file.ext.~c0a2o8 excluded  (2)
03-11 11:08:28:416 csync_ftw: Uniq ID from Database: path/.file.ext.~mpviqe -> 
<NULL>
03-11 11:08:28:416 csync_walker: file: 
/Users/marcel/ownCloud/path/.file.ext.~mpviqe
03-11 11:08:28:416 _csync_detect_update: path/.file.ext.~mpviqe excluded  (2)
03-11 11:08:28:421 csync_ftw: Uniq ID from Database: path/file.ext -> 
527f52d5456d8
03-11 11:08:28:421 csync_walker: file: /Users/marcel/ownCloud/path/file.ext
03-11 11:08:28:441 _csync_detect_update: ==> file: path/file.ext - hash 
11446526844036336809, mtime: 1213538572, fileId: 
03-11 11:08:28:442 _csync_detect_update: file: path/file.ext, instruction: 
INSTRUCTION_NONE <<=
03-11 11:12:42:129 csync_walker: file: 
ownclouds://netfuture.ch/owncloud/remote.php/webdav/path/file.ext
03-11 11:12:42:129 _csync_detect_update: ==> file: path/file.ext - hash 
11446526844036336809, mtime: 1213538572, fileId: 
03-11 11:12:42:130 _csync_detect_update: file: path/file.ext, instruction: 
INSTRUCTION_EVAL <<=
03-11 11:12:42:143 csync_walker: file: 
ownclouds://netfuture.ch/owncloud/remote.php/webdav/path/file.ext
03-11 11:12:42:143 _csync_detect_update: ==> file: path/file.ext - hash 
11446526844036336809, mtime: 1213538572, fileId: 
03-11 11:12:42:143 _csync_detect_update: file: path/file.ext, instruction: 
INSTRUCTION_NONE <<=
03-11 11:12:42:696 csync_walker: file: 
ownclouds://netfuture.ch/owncloud/remote.php/webdav/path/file.ext
03-11 11:12:42:696 _csync_detect_update: ==> file: path/file.ext - hash 
11446526844036336809, mtime: 1213538572, fileId: 
03-11 11:12:42:696 _csync_detect_update: file: path/file.ext, instruction: 
INSTRUCTION_EVAL <<=
03-11 11:12:42:701 csync_walker: file: 
ownclouds://netfuture.ch/owncloud/remote.php/webdav/path/file.ext
03-11 11:12:42:701 _csync_detect_update: ==> file: path/file.ext - hash 
11446526844036336809, mtime: 1213538572, fileId: 
03-11 11:12:42:701 _csync_detect_update: file: path/file.ext, instruction: 
INSTRUCTION_NONE <<=
03-11 11:16:41:394 _csync_merge_algorithm_visitor: INSTRUCTION_NONE     file: 
path/file.ext
03-11 11:16:43:035 _csync_merge_algorithm_visitor: INSTRUCTION_SYNC     file: 
path/file.ext
03-11 11:16:44:515 "INSERT OR REPLACE INTO downloadinfo (path, tmpfile, etag, 
errorcount) VALUES ( ? , ?, ? , ? )" "path/file.ext" "path/.file.ext.~41a7" 
"5289f5a459e9f" 0 
03-11 11:17:06:534 "INSERT OR REPLACE INTO metadata (phash, pathlen, path, 
inode, uid, gid, mode, modtime, type, md5, fileid) VALUES ( ? , ?, ? , ? , ? , 
? , ?,  ? , ? , ?, ? )" -7000217229673214807 49 "path/file.ext" 49543207 0 0 0 
"1213538572" "0" "527f52d5456d8" "" 
03-11 11:17:06:534 "DELETE FROM downloadinfo WHERE path=?" "path/file.ext" 
03-11 11:17:06:536 void Mirall::CSyncThread::transferCompleted(const 
Mirall::SyncFileItem&) "path/file.ext" 4 "" 

What can be done about this? The client database has already been deleted [1].

Beste Grüsse,
-Marcel Waldvogel

BTW: Deleting a database originally created with ownCloud client 1.4.x speeds 
up the sync checking process by a factor of 3 (from 30 to 10 minutes). The old 
format had inode=0 in the database for all entries. You might change the code 
to update inode=0 to the real inode on the first sync (or at least recommend 
the users to delete their old .csyncdbs)

Am 09.03.2014 um 11:24 schrieb Pierre Malard <[email protected]>:
> Hi,
> 
> My client  configuration:
> - Low ADSL connection (less than 1 Mb)
> - Mac OS X 10.9.2
> - Mac OC Client 1.5.2 (build 2335)
> 
> Our Server configuration:
> - Xen VM on Debian 7 wheezy
> - 8 Gb RAM, 2 CPU dedicated
> - OC 6.0.1-1
> 
> My deposit:
> - about 3 Gb size
> - about 8000 files and 1900 directories
> 
> Repetitives sync
> That's the principal problem. Every day, all my deposit (3 Gb) is download 
> again and again. Even if none file were modify???
> An example of local log message (with --logwindow parameter):
> ------------------------------------------------------------------------------
> ...................
> 03-09 10:55:46:506 "INSERT OR REPLACE INTO downloadinfo (path, tmpfile, etag, 
> errorcount) VALUES ( ? , ?, ? , ? )" "Partages-Piotr/MTD/MAJ Servers.rtf" 
> "Partages-Piotr/MTD/.MAJ Servers.rtf.~6058ed8" "52e21a6b35704" 0 
> 03-09 10:55:46:506 Transaction Start  "download file start" 
> 03-09 10:55:46:695 Content encoding ist <empty> with status 200
> 03-09 10:55:47:309 FolderWatcherPrivate::callback by OS X 
> 03-09 10:55:47:309 void Mirall::FolderWatcher::changeDetected(const QString&) 
> "/Users/Shared/OwnCloud_plm/" 
> 03-09 10:55:47:570 "INSERT OR REPLACE INTO metadata (phash, pathlen, path, 
> inode, uid, gid, mode, modtime, type, md5, fileid) VALUES ( ? , ?, ? , ? , ? 
> , ? , ?,  ? , ? , ?, ? )" -4868438229748282472 34 "Partages-Piotr/MTD/MAJ 
> Servers.rtf" 30978258 0 0 0 "1368959621" "0" "52e21a6b35704" 
> "0015097750bf3dbe239c8" 
> 03-09 10:55:47:570 "DELETE FROM downloadinfo WHERE path=?" 
> "Partages-Piotr/MTD/MAJ Servers.rtf" 
> 03-09 10:55:47:570 Transaction Start  "download file start2" 
> 03-09 10:55:47:571 void Mirall::CSyncThread::transferCompleted(const 
> Mirall::SyncFileItem&) "Partages-Piotr/MTD/MAJ Servers.rtf" 4 "" 
> ...................
> ------------------------------------------------------------------------------
> It's not an isolate case. In this download session, about 500Mb were 
> downloads without any real reason.
> This file is an old one, not modify but download: why?
> 
> There is no message on owncloud.log file. But I can give an week report of 
> our Apache server which only serve OC. I'm the only user at this time. So, 
> here is our logwatch week report:
> ------------------------------------------------------------------------------
> ################### Logwatch 7.4.0 (05/02/12) #################### 
>        Processing Initiated: Wed Mar  5 07:40:12 2014
>        Date Range Processed: since -7 days
>                              ( 2014-Feb-26 / 2014-Mar-05 )
>                              Period is day.
>        Detail Level of Output: 5
>        Type of Output/Format: mail / text
>        Logfiles for Host: owncloud
> ################################################################## 
> ................
> --------------------- httpd Begin ------------------------ 
> 
> 53209.78 MB transferred in 278750 responses  (1xx 0, 2xx 268919, 3xx 411, 4xx 
> 9416, 5xx 4) 
>     53248 Images (19216.19 MB),
>     25946 Documents (21300.72 MB),
>      5596 Archives (3384.95 MB),
>        99 Sound files (2513.79 MB),
>        21 Movies files (1237.26 MB),
>        30 Windows executable files (498.13 MB),
>     94842 Content pages (563.16 MB),
>         3 Redirects (0.01 MB),
>        16 Program source files (0.02 MB),
>     98949 Other (4495.55 MB) 
> .................................
> ------------------------------------------------------------------------------
> Elsewhere, none of users have load files.  This server is on test procedure 
> and only local test users can load files. Their is few real external traffic. 
> I'm the principal user with only 3 Gb deposit, not 50!!!
> 
> Is someone have an explanation?
> 
> -- 
> Pierre Malard
> 
>   «Quand un Français dit du mal de lui, ne le croyez pas, Il se vante !»
>                                            Édouard Pailleron
>    |\      _,,,---,,_
>    /,`.-'`'    -.  ;-;;,_
>   |,4-  ) )-,_. ,\ (  `'-'
>  '---''(_/--'  `-'\_)
> 
> perl -e '$_=q#: 3|\ 5-,3-3,2-: 3/,`.'"'"'`'"'"' 5-.  ;-;;,-:  |,A-  ) )-,_. 
> ,\ (  `'"'"'-'"'"': '"'"'-3'"'"'2(-/--'"'"'  `-'"'"'\-): 
> 22PLM::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
> - --> Ce message n’engage que son auteur <--
> 
> _______________________________________________
> User mailing list
> [email protected]
> http://mailman.owncloud.org/mailman/listinfo/user

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to