Open Searinox opened 2 years ago
Ok, this is going to be a bit difficult to debug. Please add the following two lines to logging.properties
:
com.muwire.core.files.level=FINE
com.muwire.core.EventBus.level=FINE
You will see many entries for each shared file that is being loaded. At the end, you should also see entries about files being hashed. The reason for that is that MuWire will re-hash any shared files which have been modified after they have been shared. That is the step whre the hang occurs.
Look for log entries that contain FileHashedEvent
with some error.
It may be late to mention now but in the latest build after "nearly" all the shared files are loaded, the last chunk hangs. Everytime. The result of this is the indexing never finishes, share search is never activated etc.. It's always done this since it was committed and I've been using the previous build since. Network search, downloads etc. work but the sharing never finishes. I couldn't find any exceptions in the logs and the application otherwise runs and exits gracefully enough that it doesn't make it look like a thread outright crashes. There's no CPU or disk activity, and the files that remain unshared aren't big anyway.