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
Caught internal_error: priority_queue_insert(...) called on an already queued item #101
Comments
i all of a sudden started getting this error, i disabled rutorrent and i can run rtorrent now.. maybe once rtorrent has gotten going i can use rutorrent again... i checked in rutorrent/share/users/{username}/torrents/ and there was a bunch of torrents i imagine it was trying to add that some must have already been in there, thus the error, after deleting them all rutorrent works with rtorrent again without crashing it |
i get this error on a daily bases .. my only observation this happen when i have many huge torrent files like 15g + .. =======4.4.0-92-generic #115-Ubuntu SMP Thu Aug 10 09:04:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux============== 1502973001 N rtorrent main: Starting thread. ---END--- |
Hello, i have a some problem. how can solve this ? ---END--- ---END--- |
don't know what your setting is .. but try first this: good luck probably there is a better solution than that :) |
this started happening every rtorrent restart. |
Still having this issue after restarting rtorrent sometimes when I have more than, say 80, torrents open. Using mids33 solution works most of the time. |
This ticket has been open without a clear solution in a while and it has stumped me that over many installations I've only ever seen this persistent issue a single time. I dug into this yesterday and was able to find a solid workaround that doesn't involve clearing and re-hashing the resume data each and every time you restart rTorrent. By every indication, this problem is caused directly by ruTorrent when plugins are initialized when rTorrent starts up. If you have ruTorrent installed, there's a solid chance you have a line very similar to this in your
I discovered through trial and error that if this line is commented out of the configuration, rTorrent starts without any errors and continues to function properly if you load ruTorrent and let plugins initialize after the initial startup. So, there appears to be a problem initializing plugins directly on start. Workaround? Delay the initialization: Change the execute line into a schedule:
Now, rTorrent will wait 10 seconds after starting the application and then init plugins a single time. The crash seems to be gone now. Hope this helps someone else. |
Thank you for this, I'll give this a shot. Is there a difference between execute and execute2 and schedule and schedule2? |
https://github.com/rakshasa/rtorrent/wiki/rTorrent-0.9-Comprehensive-Command-list-(WIP)#execution |
Thank you for your help. |
Error source
I more or less understands what throws it, but how would I solve it? Is there a way to figure out which torrent causes this error to be thrown so I can remove/re-add it? rTorrent now simply terminates when it gets this error.
Related issue: rtorrent/#13
The text was updated successfully, but these errors were encountered: