On 12/8/18 10:15 PM, Carlos E. R. wrote:
top - 21:48:19 up 1 day, 19:46, 5 users, load average: 9.18, 11.24, 14.59 a)_________________________________________________________^^^^^^^^^^^^^^^^^^
The first look goes to a): the system has/had a load average of >10 for a longer time, i.e. the processes are waiting to get to the CPU.
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 b)_____________________________________________^^^^^^^ KiB Mem : 3934240 total, 106132 free, 3417824 used, 410284 buff/cache c)___________^^^^^^^ KiB Swap: 6289412 total, 4956028 free, 1333384 used. 56300 avail Mem
Then b) shows the reason: it is waiting with 68.1% for I/O - with an even higher percentage in your first top output. Second in that row is "18.4 sy", i.e. the system is busy with itself (the kernel), and last the user processes only get "2.4 us". In a regular situation, the "wa" wait percentage would be <=5% (unless copying huge amount of data), and "us" would get the most time.
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
Well, you seems to have a lot of tabs open both in Firefox and Chrome. IIRC you have to add the tmpfs data (e.g. from 'df -ht tmpfs --out=used') to the numbers in the RES column of top, and then you'll see that 4G - see c) - of RAM are not enough to run both FF+Chrome ... you won't have fun with that setup (at least you'll get into that situation more often). Have a nice day, Berny