作者:mr.sun | 来源:互联网 | 2023-10-11 12:07
I currently have five sessions running and they take up all available memory. It takes up all available ram fairly quickly sometimes within the hour.
1 2 3 4
| $ free -h
total used free shared buff/cache available
Mem: 15G 15G 157M 11M 127M 50M
Swap: 8.0G 4.8G 3.2G |
1 2 3 4 5 6
| USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 31717 0.4 4.0 5475364 662052 ? Ssl Jun18 20:47 /usr/bin/transmission-daemon -f -g /path/to/config
root 31619 0.3 4.4 5017080 719940 ? Ssl Jun18 16:25 /usr/bin/transmission-daemon -f -g /path/to/config
root 31501 0.8 6.0 5278224 990924 ? Ssl Jun18 38:28 /usr/bin/transmission-daemon -f -g /path/to/config
root 31859 1.0 9.3 8096668 1530164 ? Ssl 01:38 6:08 /usr/bin/transmission-daemon -f -g /path/to/config
root 4456 4.5 67.0 15763784 10955100 ? Ssl 04:57 16:30 /usr/bin/transmission-daemon -f -g /path/to/config |
1 2 3 4 5 6 7
| $ smem -k
PID User Command Swap USS PSS RSS
31717 root /usr/bin/transmission-daemo 611.9M 644.2M 644.7M 647.4M
31619 root /usr/bin/transmission-daemo 46.7M 701.0M 702.1M 705.5M
31501 root /usr/bin/transmission-daemo 181.6M 878.4M 878.8M 881.4M
31859 root /usr/bin/transmission-daemo 1.2G 2.5G 2.5G 2.5G
4456 root /usr/bin/transmission-daemo 374.2M 9.4G 9.4G 9.4G |
The instances each have 250, 250, 1000, 1000 and 5200 torrents. They will all compete use up all memory when given the chance (having only that instance running) regardless of the torrent count.
Running on Debian Jessie.
1 2
| Linux 4.9.0-1-amd64 #1 SMP Debian 4.9.6-3 (2017-01-28) x86_64 GNU/Linux
transmission-daemon 2.92 (14714) |
该提问来源于开源项目:transmission/transmission
I guess I've been lucky this hasn't affected my for very long, but for me, this issue only started over the last 3-4 months. I have edited my post above, but on 2020-07-30 I updated from the version from 2020-02-26. I've discarded the 'half installed' part of the log above, but if I had to guess,
introduced the problem,
was fine
2020-07-30 06:13:32 status installed libcurl3-gnutls:amd64 7.52.1-5+deb9u11
2020-02-26 06:44:42 status installed libcurl3-gnutls:amd64 7.52.1-5+deb9u10
Maybe that build merged new code, but maybe they upgraded build OS or changed build options?