Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem loading shared files in latest build #173

Open
Searinox opened this issue Oct 13, 2022 · 1 comment
Open

Problem loading shared files in latest build #173

Searinox opened this issue Oct 13, 2022 · 1 comment

Comments

@Searinox
Copy link

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.

@zlatinb
Copy link
Owner

zlatinb commented Oct 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants