Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Ktorrent using a lot of memory recently
Date: Tue, 21 Dec 2021 07:07:13
Message-Id: 4b51c2ae-e263-285f-4038-7a5304a0cb68@gmail.com
1 Howdy all,
2
3 I been using Ktorrent for several months now.  When I started using it,
4 it used only a few hundred megabytes of ram and was running for a week
5 or so without a restart.  It rarely even showed up in top when sorted by
6 memory usage.  Certainly true when several Firefox browser profiles are
7 open and running.  Recently tho, it is using a lot more memory.  Once it
8 was several GBs and I had to close and restart Ktorrent to clear it up. 
9 It runs with a more normal memory usage for a while but then starts
10 building up again.  Once I get something downloaded, I copy it from the
11 folder it downloads to over to other directories where I rename and
12 organize things.  Only active downloads remain listed within Ktorrent. 
13 This is from top. This is after less than a day of run time, likely
14 around 12 hours or so. 
15
16
17   PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+
18 COMMAND                                                                         
19
20  5604 dale      20   0 3262804   1.0g  81648 S   0.0   3.3  45:40.05
21 /usr/bin/ktorrent
22
23
24 This is my version and USE flags.
25
26
27 [ebuild   R    ] net-p2p/ktorrent-21.08.3:5::gentoo  USE="bwscheduler
28 downloadorder handbook infowidget ipfilter logviewer magnetgenerator
29 mediaplayer scanfolder stats upnp webengine zeroconf -debug -rss
30 -shutdown -test" 0 KiB
31
32
33 Entries in /etc/portage for ktorrent:
34
35
36 root@fireball / # grep -r ktorrent /etc/portage/
37 /etc/portage/package.use/package.use:net-p2p/ktorrent -search -shutdown -rss
38 root@fireball / #
39
40
41 I checked and I'm on the same version as I have been using since I
42 installed Ktorrent.  I suspect the problem may be a dependency of
43 Ktorrent and not Ktorrent itself, even tho it shows Ktorrent using the
44 memory.  I'm not quite sure how that could be but since Ktorrent itself
45 hasn't changed, well, makes me wonder.
46
47 Anyone else having this problem or have a idea of the cause?  Could it
48 be a USE flag that I can disable?  I can disable things I don't use if
49 needed.  Is it something Ktorrent depends on that is causing this?
50
51 Ideas? Thoughts?
52
53 Thanks.
54
55 Dale
56
57 :-)  :-) 

Replies

Subject Author
Re: [gentoo-user] Ktorrent using a lot of memory recently computers with nikita nikita <nikitadd22@×××××.com>