I have the following versions:
- Windows client Version 2.3.3 (build 1)
- Nexcloud web version 13.0.4
The client is constantly starting to check the local folders to see if a sync is needed even if no files have changed. This is generating CPU load.
Debug log of the start
06-19 14:30:16:248 8276 OCC::AbstractNetworkJob::start: !!! OCC::LsColJob created for "https://cloud.domain.com" + "" "OCC::DiscoverySingleDirectoryJob"
06-19 14:30:16:270 8276 OCC::ConnectionValidator::checkAuthentication: # Check whether authenticated propfind works.
06-19 14:30:16:271 8276 OCC::AbstractNetworkJob::start: !!! OCC::PropfindJob created for "https://cloud.domain.com" + "/" "OCC::ConnectionValidator"
06-19 14:30:16:275 8276 OCC::AbstractNetworkJob::start: !!! OCC::PropfindJob created for "https://cloud.domain.com" + "/" "OCC::QuotaInfo"
06-19 14:30:16:333 8276 OCC::FolderWatcher::changeDetected: detected changes in paths: QSet("C:/Users/username/Documents/NextCloud/CY.TMP")
06-19 14:30:17:937 8276 OCC::DiscoveryMainThread::singleDirectoryJobFirstDirectoryPermissionsSlot: Permissions for root dir: "RGDNVCK"
06-19 14:30:17:939 8276 OCC::DiscoveryMainThread::singleDirectoryJobResultSlot: void OCC::DiscoveryMainThread::singleDirectoryJobResultSlot(const QList<OCC::FileStatPointer>&) Have 2 results for ""
06-19 14:30:17:940 12772 OCC::DiscoveryJob::remote_vio_opendir_hook: OCC::DiscoveryJob(0x9070c60) ...Returned from main thread
06-19 14:30:17:941 0x88c5c3c csync_walker: directory: XXX [file_id=00002213ocff4pqhq5es]
06-19 14:30:17:941 0x88c5c3c sqlite_profile: _SQL_ SELECT phash, pathlen, path, inode, uid, gid, mode, modtime, type, md5, fileid, remotePerm, filesize, ignoredChildrenRemote, contentChecksum, contentChecksumTypeId FROM metadata WHERE phash=?1: 0
06-19 14:30:17:941 0x88c5c3c _csync_detect_update: Database entry found, compare: 1529354328 <-> 1529354328, etag: 5b2818589dcd5 <-> 5b2818589dcd5, inode: 0 <-> 126442, size: 0 <-> 0, perms: RGDNVCK <-> RGDNVCK, ignore: 0
06-19 14:30:17:941 0x88c5c3c _csync_detect_update: Reading from database: XXX
06-19 14:30:17:941 0x88c5c3c _csync_detect_update: file: XXX, instruction: INSTRUCTION_NONE <<=
06-19 14:30:18:080 0x88c5c3c sqlite_profile: _SQL_ SELECT phash, pathlen, path, inode, uid, gid, mode, modtime, type, md5, fileid, remotePerm, filesize, ignoredChildrenRemote, contentChecksum, contentChecksumTypeId FROM metadata WHERE path > (?||'/') AND path < (?||'0') ORDER BY path||'/' ASC: 139000000
06-19 14:30:18:080 0x88c5c3c csync_statedb_get_below_path: 6246 entries read below path XXX from db.
06-19 14:30:18:080 0x88c5c3c csync_walker: directory: Private [file_id=00002214ocff4pqhq5es]
06-19 14:30:18:081 0x88c5c3c sqlite_profile: _SQL_ SELECT phash, pathlen, path, inode, uid, gid, mode, modtime, type, md5, fileid, remotePerm, filesize, ignoredChildrenRemote, contentChecksum, contentChecksumTypeId FROM metadata WHERE phash=?1: 0
06-19 14:30:18:081 0x88c5c3c _csync_detect_update: Database entry found, compare: 1525352665 <-> 1525352665, etag: 5aeb08d96f04b <-> 5aeb08d96f04b, inode: 0 <-> 136471, size: 0 <-> 0, perms: RGDNVCK <-> RGDNVCK, ignore: 0
06-19 14:30:18:081 0x88c5c3c _csync_detect_update: Reading from database: Private
06-19 14:30:18:081 0x88c5c3c _csync_detect_update: file: Private, instruction: INSTRUCTION_NONE <<=
06-19 14:30:18:086 0x88c5c3c sqlite_profile: _SQL_ SELECT phash, pathlen, path, inode, uid, gid, mode, modtime, type, md5, fileid, remotePerm, filesize, ignoredChildrenRemote, contentChecksum, contentChecksumTypeId FROM metadata WHERE path > (?||'/') AND path < (?||'0') ORDER BY path||'/' ASC: 5000000
06-19 14:30:18:086 0x88c5c3c csync_statedb_get_below_path: 190 entries read below path Private from db.
06-19 14:30:18:086 12772 OCC::DiscoveryJob::remote_vio_closedir_hook: static void OCC::DiscoveryJob::remote_vio_closedir_hook(csync_vio_handle_t*, void*) OCC::DiscoveryJob(0x9070c60) ""
06-19 14:30:18:086 0x88c5c3c csync_ftw: <= Closing walk for with read_from_db 0
06-19 14:30:18:086 0x88c5c3c csync_update: Update detection for remote replica took 45.70 seconds walking 6438 files.
06-19 14:30:18:087 0x88c5c3c csync_statedb_close: sqlite3_close=0
06-19 14:30:18:114 8276 OCC::SyncEngine::slotDiscoveryJobFinished: <<#### Discovery end #################################################### 52983
06-19 14:30:18:125 0x7bc1bd8 csync_statedb_load: sqlite3 version "3.16.1"
06-19 14:30:18:127 0x7bc1bd8 csync_statedb_load: Success
06-19 14:30:18:128 0x7bc1bd8 _csync_merge_algorithm_visitor: INSTRUCTION_NONE client file: XXX/YYY/ZZZ.png