Opened 6 months ago
Last modified 3 months ago
#3571 new bug
torrents get lost
Reported by: | Xuefer | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | needs verified |
Component: | libtorrent | Version: | 2.1.0 |
Keywords: | Cc: |
Description
steps to reproduce:
- make sure there're more than 128 torrents added, in any state
- use ltconfig plugin to set alert_queue_size to 100 (or load preset: minimal memory usage, which use 100 for alert_queue_size)
- restart deluge
only about 126~130 torrents get loaded. restart deluge again you'll see size of torrents.state get slim down to a few kbytes from mbytes "Finished loading 427 torrents in 0:00:06.760026" is not appearing in the log. unless the count is slim down
alert_queue_size = 100 is not required for this to happen
Reason: loading existing torrents, rely on alert_queue as callback Suggestion: need a reliable callback mechanic other than alert_queue which is limited by size.
Note: See
TracTickets for help on using
tickets.
Yes Deluge has a queue size default of 10000 since the queue is critical to functionality so not unexpected that a very low value would cause issues
Deluge requires the queue for events but there are potential improvements to alert handling.