On 12/12/2018 12.00, Anton Aylward wrote:
On 2018-12-11 9:08 p.m., Carlos E. R. wrote:
No, that's not it. I was using happily that machine during the night, then I left it alone, not closing any program, I went to sleep, and some 12 hours it crashed.
That sounds to me like a memory leak. In fact there's a lot in this thread that reeks of a memory leak.
Yes. But you see, yesterday I added the RES memory used by the most memory heavy processes, and it was 2 gig. Half of available memory. Where was the rest hiding? Yesterday night I set running "top" every 5 minutes and writing to a file, to see what happens when it crashes - but it has not crashed.
Further, I'm getting a system freezing and an insanely high load factors. I hotkey to a VT where I've logged in and run 'w' which is comparatively lightweight and see load factors of between 9 and 33..
Killing firefox or dolphin or thunderbird relieves it. Thee dolphin had a lot of tabs and takes memory for rendering; I'm not sure about the libraries it uses.
TB and FF are GTK based and both also use HTML rendering libraries. Perhaps it is a HTML page or image or something...
I leave this days FF on the same pages. Actually, it is my router setup page.
I've massively reduced the number of FF tabs and things seem to be holding.
So I'm suspicious that there is a memory leak in the HTML rendering software somewhere along the line.
Possibly. You can see in the first post the memory load: top - 21:48:19 up 1 day, 19:46, 5 users, load average: 9.18, 11.24, 14.59 Tasks: 291 total, 4 running, 287 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.4 us, 18.4 sy, 0.0 ni, 9.9 id, 68.1 wa, 0.0 hi, 1.1 si, 0.0 st KiB Mem : 3934240 total, 106132 free, 3417824 used, 410284 buff/cache KiB Swap: 6289412 total, 4956028 free, 1333384 used. 56300 avail Mem PID USER PR NI VIRT RES SHR SWAP USED S %CPU %MEM TIME+ COMMAND 4355 cer 20 0 9.857g 1.168g 33104 0 1.168g D 0.946 31.13 5:11.20 firefox 4603 cer 20 0 2189304 497600 20004 0 497600 S 0.000 12.65 0:20.22 Web Content 4476 cer 20 0 2121180 369828 4 0 369828 S 0.000 9.400 0:31.32 Web Content 12670 cer 20 0 1645688 204172 16424 24272 228444 S 2.208 5.190 60:26.25 chrome 4574 cer 20 0 1800896 123752 4776 0 123752 S 0.000 3.146 0:36.18 Web Content 4616 cer 20 0 1748260 113256 4444 0 113256 S 0.000 2.879 0:09.17 Web Content 12526 cer 20 0 1436224 93956 2964 20672 114628 D 4.416 2.388 84:47.28 chrome 15650 cer 20 0 896392 84652 12128 31548 116200 D 1.262 2.152 10:37.98 chrome 16330 cer 20 0 836828 81516 19036 29160 110676 D 0.631 2.072 3:20.19 chrome 12563 cer 20 0 2077116 79692 6032 228036 307728 S 0.000 2.026 61:25.77 chrome 15996 cer 20 0 827280 77852 15320 24792 102644 S 0.631 1.979 3:16.00 chrome 15952 cer 20 0 832136 77220 2944 26892 104112 S 0.000 1.963 3:07.12 chrome 15265 cer 20 0 845048 57020 728 33540 90560 S 0.000 1.449 11:23.63 chrome 16400 cer 20 0 793004 41616 744 26940 68556 S 0.315 1.058 1:22.59 chrome 2703 root 20 0 450280 41456 28532 15100 56556 D 0.631 1.054 22:37.38 X 4003 cer 20 0 869880 10892 8 6192 17084 S 0.000 0.277 0:05.23 xfdesktop 4038 cer 20 0 1036900 10676 28 17256 27932 S 0.000 0.271 0:37.96 xfce4-terminal 4030 cer 20 0 875056 8264 1888 1888 10152 S 0.631 0.210 9:59.47 gkrellm Firefox had almost 10 GB of virtual memory. I'm going to add those numbers now, in calc. Huh, I think that that numbers that don't say the units are kilobytes. A bit of a complication. Virt: 31,14E+09 RES: 3,14E+09 Compare with the situation now, with the *same programs* running normally: top - 13:01:30 up 5 days, 11:00, 6 users, load average: 0.03, 0.06, 0.04 Tasks: 293 total, 2 running, 291 sleeping, 0 stopped, 0 zombie %Cpu0 : 2.3 us, 0.6 sy, 0.0 ni, 97.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st %Cpu1 : 1.5 us, 1.5 sy, 0.0 ni, 97.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 3934240 total, 1136168 free, 2230464 used, 567608 buff/cache KiB Swap: 6289412 total, 5301176 free, 988236 used. 1224416 avail Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 3256 cer 20 0 2339368 641960 33212 19416 S 0.000 16.32 2:50.93 Web Content 3164 cer 20 0 9916312 416412 57612 54632 S 0.207 10.58 15:35.46 firefox 3342 cer 20 0 2144876 224308 35160 40800 S 0.415 5.701 4:32.34 Web Content 2703 root 20 0 514976 145328 127548 12096 S 1.037 3.694 53:17.74 X 5609 cer 20 0 1165872 118928 35592 20244 S 0.207 3.023 2:28.89 chrome 3397 cer 20 0 1848824 117872 34492 16732 S 0.207 2.996 1:41.08 Web Content 5514 cer 20 0 1172780 71156 22544 6364 S 0.000 1.809 1:12.87 chrome 3381 cer 20 0 1743320 68808 13432 50600 S 0.000 1.749 1:03.69 Web Content 5553 cer 20 0 664720 35352 5508 13000 S 0.000 0.899 0:07.11 chrome 4183 cer 39 19 0.250t 28872 22504 2444 S 0.000 0.734 0:09.36 baloo_file 4038 cer 20 0 1041580 22832 7444 15220 S 0.000 0.580 3:41.48 xfce4-terminal 4021 cer 20 0 888188 20656 12520 3768 S 0.000 0.525 0:07.45 panel-1-whisker 4003 cer 20 0 870052 19100 6768 5096 S 0.000 0.485 0:14.61 xfdesktop 4269 cer 39 19 918436 13796 4940 84912 S 0.000 0.351 0:40.91 tracker-miner-f 4067 cer 20 0 555544 13508 6908 1924 S 0.415 0.343 21:12.17 panel-18-weathe 4296 cer 20 0 953640 12348 5920 14316 S 0.000 0.314 0:04.84 gnote 3948 cer 20 0 568152 12300 6028 1284 R 0.207 0.313 15:48.99 xfwm4 3981 cer 20 0 1003288 12020 4896 4604 S 0.000 0.306 0:18.32 Thunar 4058 cer 20 0 399408 10380 6792 5024 S 0.000 0.264 0:00.86 panel-15-screen 3989 cer 20 0 747576 9496 5236 4000 S 0.000 0.241 0:21.31 xfce4-panel 4030 cer 20 0 876476 9468 4612 3576 S 0.622 0.241 27:26.42 gkrellm 14168 cer 20 0 18652 8524 3292 0 S 0.000 0.217 0:00.15 bash 4319 cer 20 0 866876 8464 3428 5232 S 0.207 0.215 2:04.24 contarcorreo 14165 root 20 0 128124 7776 6508 0 S 0.000 0.198 0:00.07 sshd Virt: 250,03E+12 RES: 2,05E+09 Notice the free memory, it is way more. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)