You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue that might be a memory leak or might just be rqbit holding too much information or might just be me being an idiot. I have rqbit with add_torrent() + list_only wrapped in a tokio timeout for 10s running on a VPS to grab torrent metadata - that works well, but over a few hours the memory usage slowly creeps up until the host runs out and everything has to be restarted. It isn't by much, maybe ~400MB/hour. I'm checking probably >2000 torrents an hour.
Is there anything that could cause that slow usage increase in rqbit? I don't know rust well enough to know for sure but I think its either the timeout causing something to not be cleaned up properly (seems unlikely with list_only unless its peer info?) or its holding onto information from each torrent that slowly builds up over time as it sees more and more. Or something to do with DHT...? I'm pretty much lost though. I know this is an unconventional use case so something like that seems likely to me but I don't know rqbit internals well enough.
The text was updated successfully, but these errors were encountered:
I have an issue that might be a memory leak or might just be rqbit holding too much information or might just be me being an idiot. I have rqbit with
add_torrent()
+list_only
wrapped in a tokio timeout for 10s running on a VPS to grab torrent metadata - that works well, but over a few hours the memory usage slowly creeps up until the host runs out and everything has to be restarted. It isn't by much, maybe ~400MB/hour. I'm checking probably >2000 torrents an hour.Is there anything that could cause that slow usage increase in rqbit? I don't know rust well enough to know for sure but I think its either the timeout causing something to not be cleaned up properly (seems unlikely with
list_only
unless its peer info?) or its holding onto information from each torrent that slowly builds up over time as it sees more and more. Or something to do with DHT...? I'm pretty much lost though. I know this is an unconventional use case so something like that seems likely to me but I don't know rqbit internals well enough.The text was updated successfully, but these errors were encountered: