Giter Site home page Giter Site logo

Comments (13)

mathiascode avatar mathiascode commented on June 27, 2024 2

I don't think there's anything that should cause large bottlenecks (except if you're downloading to a really slow HDD or network share, perhaps), but I found a couple things to optimize in any case: 6e4325b

@brandon-iomyers Could you try the latest development build and see if anything has changed? https://nicotine-plus.org/doc/TESTING.html#windows

from nicotine-plus.

brandon-iomyers avatar brandon-iomyers commented on June 27, 2024 1

I would be happy to help debug. Please provide me with the email address and I will send over logs!

from nicotine-plus.

slook avatar slook commented on June 27, 2024

This sort of issue could only be investigated by gathering debug logs to capture some examplar incidents of the problem.

If you decide to help investigate this bug by gathering and providing logs, then I can provide an email address for sending them privately. Please don't post any private data (usernames, IP addresses and filenames etc) in this public forum.

It's possible that is has something to do with your network environment, such as a firewall or the like.

from nicotine-plus.

slook avatar slook commented on June 27, 2024

Thanks that'd be great, use the email address on @mathiascode 's GitHub profile with logs attached as plain text file, please put the subject line the same as the title of this issue and issue number "Downloads stuck on 'Queued' #2926".

I can confirm that I have observed similar behaviour but I don't know what is causing it nor how to investigate it.

from nicotine-plus.

mathiascode avatar mathiascode commented on June 27, 2024

How many queued downloads? Judging by the logs, it looks like Nicotine+ is stuck sending (the same?) QueueUpload messages for several minutes.

Does the GUI freeze at all when this happens?

from nicotine-plus.

brandon-iomyers avatar brandon-iomyers commented on June 27, 2024

from nicotine-plus.

slook avatar slook commented on June 27, 2024

Does the GUI freeze at all when this happens?

No, the interface is fully functional while one download is frozen on "Transferring" and the other three "Queued" uploads to the same user also are stuck as a result. The "Time Elapsed" doesn't increment nor does the displayed "Speed" value change except upon every few minutes, at which point it updates to show the correct amount of time and a nominal speed as if it wasn't stuck, even though in reality it is going at less than a few B/s.

from nicotine-plus.

mathiascode avatar mathiascode commented on June 27, 2024

I suspect it's a performance issue in OP's case. Sending thousands of messages at once might cause a bottleneck somewhere in the networking code, effectively halting all other traffic. I'll do some profiling to see if this is the case.

from nicotine-plus.

thep50 avatar thep50 commented on June 27, 2024

Hi, for some time I've also been getting the same issue of downloads getting stuck on queue, though with many different users and not cases of queuing a large amount at a time. Should I explain more here, or create a new issue?

from nicotine-plus.

brandon-iomyers avatar brandon-iomyers commented on June 27, 2024

I apologize for not adding anything more but with the new reply @thep50 made, I felt it would be a good time.

I have seen this issue with both large amounts of queued downloaded and only a few. I have also tried it with three different storage configurations. Now, none are flash but the method didn’t seem to make a difference.

Two things to note, when this happens users also can not queue from my shares and state they get an error saying there was a problem connecting. Lastly, quitting the application and then restarting it will start downloads immediately, at least for a while.

from nicotine-plus.

brandon-iomyers avatar brandon-iomyers commented on June 27, 2024

I don't think there's anything that should cause large bottlenecks (except if you're downloading to a really slow HDD or network share, perhaps), but I found a couple things to optimize in any case: 6e4325b

@brandon-iomyers Could you try the latest development build and see if anything has changed? https://nicotine-plus.org/doc/TESTING.html#windows

I will give this a shot tonight!

from nicotine-plus.

mathiascode avatar mathiascode commented on June 27, 2024

Hi, for some time I've also been getting the same issue of downloads getting stuck on queue, though with many different users and not cases of queuing a large amount at a time. Should I explain more here, or create a new issue?

There are two different issues:

  • Downloads get stuck on queued, all Soulseek network activity stops
  • Certain downloads get stuck on queued, but others continue and network activity continues. Pressing resume makes the download start.

Which issue are you experiencing?

Could you send new debug logs? Enable all log categories, and send the log file to my email on my profile. Also point out which users and files have the issue. https://nicotine-plus.org/doc/DEVELOPING.html#debug-logging

from nicotine-plus.

thep50 avatar thep50 commented on June 27, 2024

There are two different issues:

* Downloads get stuck on queued, all Soulseek network activity stops

* Certain downloads get stuck on queued, but others continue and network activity continues. Pressing resume makes the download start.

Which issue are you experiencing?

I'm experiencing the second - only certain files are stuck on queued, while others from the same user & other users all continue.

What I've noticed usually triggers this is when I'm searching for a single file in the search tab, and right click one user and click "Download Folder(s)". Sometimes when taking this action and then looking at the new download in the Downloads tab, only the single file shows up at first while it's still trying to connect to the user for the rest of the folder. Sometimes it takes a while doing this and might say "Connection TImeout". Eventually when the rest of the folder comes up and the downloads start, it starts downloading on the second file down. It will then download the entire folder except for the first file that I had originally searched for, which is stuck on 'queued', or sometimes 'cancelled'. When I try hitting resume on this file, nothing usually happens after a long wait - however if I remove this file from from my download list, browse the user's files, and then add the file again to my downloads by queuing the whole folder, the file usually starts downloading instantly.

I will turn on debug logs and try and recreate it and email you the results.

from nicotine-plus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.