Daniel Engberg
Daniel Engberg
> Do you set `disk_io_write_mode` to `write_through`? With that set, libtorrent will `msync()` pieces as they are downloaded, and the FreeBSD man page seems pretty clear about actually flushing pages...
I'm seeing this issue too on FreeBSD 13.1-STABLE (amd64), Boost 1.72
Yes, that's correct
FreeBSD uses llvm/clang 13 and libc++ If you want some pointers as far as FreeBSD goes it's pretty easy and quick to setup @gesangtome RB?
No, I'm on 2.0.6
@arvidn This now works on RC_2_0 commit https://github.com/arvidn/libtorrent/commit/13b252e1a435f84ebbdf21452417ce533c810d1f (latest as of writing)
This also seems to be an issue on FreeBSD 13 using ZFS, qBittorrent 4.4 and libtorrent 2.0.5 I also see a huge spike if I trigger a force recheck.
If the file size is lets say 4Gb, the complete file (in this case) gets stored into memory (RES using top) and memory gets released once it's in seeding mode....
There's no way to limit memory usage without hacking the code? I'm not sure this is a great strategy as I tried the same file on a 3Gb VM and...
@arvidn Setting close_file_interval does indeed free memory however the main issue will still remain?