top - 11:20:52 up 13:00, 1 user, load average: 0.45, 0.56, 0.54
Tasks: 99 total, 1 running, 57 sleeping, 0 stopped, 0 zombie
%Cpu(s): 19.1 us, 9.8 sy, 0.0 ni, 69.7 id, 0.0 wa, 0.0 hi, 0.4 si, 1.0 st
KiB Mem : 7973672 total, 1004596 free, 3067884 used, 3901192 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 4599532 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2718 elastic+ 20 0 9184920 2.402g 85876 S 75.1 31.6 58:41.00 java
10961 root 20 0 0 0 0 I 5.0 0.0 0:01.62 kworker/u4:2
3611 me 20 0 1315028 205972 9068 S 1.7 2.6 5:24.45 ruby
4050 www-data 20 0 172344 10600 5576 S 1.3 0.1 5:36.76 nginx
16 root 20 0 0 0 0 S 0.3 0.0 0:12.99 ksoftirqd/1
11221 me 20 0 44536 4044 3424 R 0.3 0.1 0:01.27 top
Hot threads seems empty:
curl localhost:9200/_nodes/hot_threads?pretty
::: {sHsHRsf}{sHsHRsflTtigKOko_FvnVg}{gb41s4T6Tc-vQb1808EXZA}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=8165040128, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}
Hot threads at 2019-01-04T10:22:38.277, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:
sudo tail -f /var/log/elasticsearch/gc.log.0.current
2019-01-04T11:22:37.924+0100: 44205.612: Total time for which application threads were stopped: 0.0040596 seconds, Stopping threads took: 0.0038789 seconds
2019-01-04T11:22:37.947+0100: 44205.636: Total time for which application threads were stopped: 0.0068627 seconds, Stopping threads took: 0.0066099 seconds
2019-01-04T11:22:38.911+0100: 44206.599: Total time for which application threads were stopped: 0.0022615 seconds, Stopping threads took: 0.0020801 seconds
2019-01-04T11:22:38.946+0100: 44206.634: Total time for which application threads were stopped: 0.0018438 seconds, Stopping threads took: 0.0015544 seconds
2019-01-04T11:22:38.959+0100: 44206.647: Total time for which application threads were stopped: 0.0019210 seconds, Stopping threads took: 0.0016778 seconds
2019-01-04T11:22:38.972+0100: 44206.660: Total time for which application threads were stopped: 0.0003531 seconds, Stopping threads took: 0.0001227 seconds
2019-01-04T11:22:38.983+0100: 44206.671: Total time for which application threads were stopped: 0.0005231 seconds, Stopping threads took: 0.0003038 seconds
2019-01-04T11:22:38.999+0100: 44206.687: Total time for which application threads were stopped: 0.0014472 seconds, Stopping threads took: 0.0012186 seconds
2019-01-04T11:22:39.011+0100: 44206.699: Total time for which application threads were stopped: 0.0002256 seconds, Stopping threads took: 0.0000594 seconds
(and it does not process anything during the tail -f
)
top again after this:
top - 11:25:59 up 13:05, 1 user, load average: 0.31, 0.46, 0.50
Tasks: 98 total, 2 running, 57 sleeping, 0 stopped, 0 zombie
%Cpu(s): 13.1 us, 20.1 sy, 0.0 ni, 66.0 id, 0.0 wa, 0.0 hi, 0.6 si, 0.2 st
KiB Mem : 7973672 total, 1001344 free, 3068556 used, 3903772 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 4598860 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2718 elastic+ 20 0 9184920 2.402g 85876 S 90.7 31.6 59:22.02 java
7 root 20 0 0 0 0 S 0.3 0.0 0:08.74 ksoftirqd/0
16 root 20 0 0 0 0 S 0.3 0.0 0:13.29 ksoftirqd/1
882 root 20 0 447792 20860 6804 S 0.3 0.3 13:14.11 fail2ban-server
11260 root 20 0 0 0 0 I 0.3 0.0 0:00.64 kworker/u4:1
1 root 20 0 225216 8840 6568 S 0.0 0.1 4:08.53 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:04.01 kthreadd