On 12/05/2020 09.51, Per Jessen wrote:
Carlos E. R. wrote:
[after setting 1Gb memory limit with cgroups]
Thunderbird remains using 4 GB of memory nonetheless.
Try restarting it - I don't know that setting a memory limit will also automatically reduce the current usage.
I did - but because I run an update. When I limited the memory of a process using systemd tools, months ago, it did reduce the memory of the running process and sent it to swap, IIRC.
Regardless - keep in mind this is only to test out David's idea about TB using up as much memory as possible. Setting 1Gb will almost certainly make TB swap at some point, and probably not solve $SUBJ.
Ok. Limiting to 2 GiB. top - 11:12:40 up 10:20, 1 user, load average: 0,20, 0,19, 0,14 Tasks: 506 total, 1 running, 504 sleeping, 0 stopped, 1 zombie %Cpu(s): 0,8 us, 0,2 sy, 0,2 ni, 98,8 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st KiB Mem : 32876712 total, 23258724 free, 7404080 used, 2213908 buff/cache KiB Swap: 10485760+total, 10390185+free, 955736 used. 24676092 avail Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 5060 cer 39 19 7068384 2,020g 55592 0 S 0,000 6,444 19:12.84 tracker-extract 11496 cer 20 0 3763696 671800 278268 0 S 0,597 2,043 3:28.51 firefox 6788 cer 20 0 3507452 661016 137488 0 S 0,000 2,011 1:16.88 thunderbird-bin 5098 cer 39 19 1647780 529104 13784 0 S 0,000 1,609 1:28.91 tracker-miner-f Well, you see TH is using less than 700MB. I will now visit all inboxes top - 11:14:04 up 10:21, 1 user, load average: 0,30, 0,22, 0,15 Tasks: 504 total, 1 running, 502 sleeping, 0 stopped, 1 zombie %Cpu(s): 0,6 us, 0,4 sy, 0,0 ni, 99,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st KiB Mem : 32876712 total, 23426060 free, 7240480 used, 2210172 buff/cache KiB Swap: 10485760+total, 10390185+free, 955736 used. 24839124 avail Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 5060 cer 39 19 7068384 2,020g 55592 0 S 0,000 6,444 19:12.84 tracker-extract 11496 cer 20 0 3763696 678800 278268 0 S 0,000 2,065 3:29.53 firefox 5098 cer 39 19 1647780 529104 13784 0 S 0,299 1,609 1:28.92 tracker-miner-f 6788 cer 20 0 3508012 473324 138244 0 S 0,299 1,440 1:19.42 thunderbird-bin It's gone down to 470. I will visit now the nntp groups. top - 11:18:12 up 10:25, 1 user, load average: 0,48, 0,39, 0,23 Tasks: 509 total, 2 running, 506 sleeping, 0 stopped, 1 zombie %Cpu(s): 0,6 us, 0,1 sy, 0,0 ni, 99,2 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st KiB Mem : 32876712 total, 23434572 free, 7228560 used, 2213580 buff/cache KiB Swap: 10485760+total, 10390185+free, 955736 used. 24851016 avail Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 5060 cer 39 19 7068384 2,020g 55592 0 S 0,000 6,444 19:12.84 tracker-extract 11496 cer 20 0 3767792 688472 278268 0 S 3,582 2,094 3:32.37 firefox 5098 cer 39 19 1647780 529104 13784 0 S 0,000 1,609 1:28.94 tracker-miner-f 6788 cer 20 0 3508856 524952 138248 0 S 0,000 1,597 1:24.24 thunderbird-bin top - 11:19:15 up 10:27, 1 user, load average: 0,80, 0,47, 0,27 Tasks: 509 total, 2 running, 506 sleeping, 0 stopped, 1 zombie %Cpu(s): 2,1 us, 0,4 sy, 0,6 ni, 96,9 id, 0,1 wa, 0,0 hi, 0,0 si, 0,0 st KiB Mem : 32876712 total, 23406244 free, 7245136 used, 2225332 buff/cache KiB Swap: 10485760+total, 10390185+free, 955736 used. 24826264 avail Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 5060 cer 39 19 7068384 2,020g 55592 0 S 0,000 6,444 19:12.84 tracker-extract 11496 cer 20 0 3768816 690688 278268 0 S 2,388 2,101 3:33.05 firefox 5098 cer 39 19 1647780 529104 13784 0 S 0,000 1,609 1:28.95 tracker-miner-f 6788 cer 20 0 3509184 487356 139076 0 S 6,269 1,482 1:29.42 thunderbird-bin 11976 cer 20 0 3505032 475936 153044 0 S 19,70 1,448 17:09.19 Web Content Well, it doesn't take all ram, it takes quite little, and goes up and down, not much related to my activity. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)