Coming from here => #562 (comment)
I'm running latest commit in master branch with debug traces => 625b8f9
I have 11.917 files in the shared folders. There are a small number of files duplicated (with the same content).
Somehow KnownFileList detects 244.724 files. I reviewed the list and there are files with 1.257 traces, when there is only 1 file with that name.
I see 23 canceled files. I don't know what that means.
There are 74 files already shared (skipped, I suppose they have the same content but I not checked it)
There are 80 zero size file (skipped)
Found 11.786 known shared files
11.917 real files - 11.786 known shared - 74 already shared - 80 zero size = -23 files ??? the same number as cancelled???
2026-05-13 20:30:44: amuleAppCommon.cpp(464): No other instances are running.
2026-05-13 20:30:45: KnownFileList.cpp(99): KnownFileList: Reading 244724 known files from file format 0x0f.
2026-05-13 20:30:45: KnownFileList.cpp(116): KnownFileList: Known file read: File1.nfo
...
2026-05-13 20:32:10: KnownFileList.cpp(116): KnownFileList: Known file read: File2.nfo
2026-05-13 20:32:10: KnownFileList.cpp(124): KnownFileList: Finished reading known files
2026-05-13 20:32:10: CanceledFileList.cpp(66): KnownFileList: Reading 23 canceled files from file format 0x21.
2026-05-13 20:32:10: CanceledFileList.cpp(72): KnownFileList: Canceled file read: 0AB616D13C4742C4D55D54F900912D2D
...
2026-05-13 20:32:10: CanceledFileList.cpp(72): KnownFileList: Canceled file read: F15CB52F6F94DE0483DFA12F4585223A
2026-05-13 20:32:10: CanceledFileList.cpp(77): KnownFileList: Finished reading canceled files
2026-05-13 20:32:10: ClientCreditsList.cpp(158): Creditfile loaded, 12596 clients are known
...
2026-05-13 21:08:22: SharedFileList.cpp(493): KnownFileList: File already shared, skipping: clearlogo.png
....
2026-05-13 20:32:19: SharedFileList.cpp(383): Found 11786 known shared files
I also see the new watcher traces. It looks like when you detect a change you scan all the files. Is that required? Don't you receive the list of changes? Take a look at the times too
2026-05-13 21:37:14: KnownFileList.cpp(159): KnownFileList: start saving known.met
2026-05-13 21:37:19: KnownFileList.cpp(194): KnownFileList: finished saving known.met
2026-05-13 22:05:22: SharedDirWatcher.cpp(319): KnownFileList: Shared-dir watcher: triggering Reload after debounce
2026-05-13 22:05:22: SharedFileList.cpp(568): KnownFileList: Reload shared files
2026-05-13 22:05:23: SharedFileList.cpp(463): KnownFileList: Found shared file: File1.mkv
2026-05-13 22:05:23: SharedFileList.cpp(487): KnownFileList: Added known file 'File1.mkv' to shares
...
2026-05-13 22:05:33: SharedFileList.cpp(405): Found 11707 known shared files, 79 unknown
2026-05-13 22:05:33: ThreadTasks.cpp(129): Hasher: Starting to create MD4 and AICH hash for file: tvshow.nfo
2026-05-13 22:05:34: amule.cpp(1484): KnownFileList: Safe adding file to sharedlist: tvshow.nfo
2026-05-13 22:05:34: ThreadTasks.cpp(129): Hasher: Starting to create MD4 and AICH hash for file: File1.mkv
...
2026-05-13 22:05:34: KnownFileList.cpp(159): KnownFileList: start saving known.met
2026-05-13 22:05:41: amule.cpp(1484): KnownFileList: Safe adding file to sharedlist: File1.mkv
...
2026-05-13 22:05:46: KnownFileList.cpp(194): KnownFileList: finished saving known.met
2026-05-13 22:07:14: KnownFileList.cpp(159): KnownFileList: start saving known.met
2026-05-13 22:07:19: KnownFileList.cpp(194): KnownFileList: finished saving known.met
@got3nks
Coming from here => #562 (comment)
I'm running latest commit in master branch with debug traces => 625b8f9
I have 11.917 files in the shared folders. There are a small number of files duplicated (with the same content).
Somehow KnownFileList detects 244.724 files. I reviewed the list and there are files with 1.257 traces, when there is only 1 file with that name.
I see 23 canceled files. I don't know what that means.
There are 74 files already shared (skipped, I suppose they have the same content but I not checked it)
There are 80 zero size file (skipped)
Found 11.786 known shared files
11.917 real files - 11.786 known shared - 74 already shared - 80 zero size = -23 files ??? the same number as cancelled???
I also see the new watcher traces. It looks like when you detect a change you scan all the files. Is that required? Don't you receive the list of changes? Take a look at the times too
@got3nks