On production, I've slowly, but constantly growing index base. Now it's
about 6M documents few Kb each. The index size is about 6Gb.
Today server became almost unusable. I see high hard drive use by ES
process.
I've restarted the server, was trying to adjust settings which allocate
memory, same problem. Sometimes server works just fine, but most of the
time it barely respond.
dstat --aio --io --disk --tcp --top-io-adv --top-bio-adv
shows such output:
async --io/total- -dsk/total- ----tcp-sockets---- -------most-expensive-i/o-
process------- ----most-expensive-block-i/o-process----
#aio| read writ| read writ|lis act syn tim clo|process pid
read write cpu|process pid read write cpu
0 | 256 0 |2816k 0 | 12 2 2 1 46|java 18891
16M 408k 13%|java 188912592k 0 13%
0 | 219 0 |2220k 0 | 12 2 4 1 45|java 18891
18M 365k8.2%|java 188912352k4096B8.2%
0 | 212 2.00 |2624k 4096B| 12 2 1 1 45|java 18891
24M 280k 21%|java 188913212k 0 21%
0 | 218 0 |2896k 0 | 12 2 0 1 48|java 18891
24M 293k 29%|java 188912392k 0 29%
0 | 233 0 |2712k 0 | 12 2 1 1 50|java 18891
43M 434k 46%|java 188912552k 0 46%
0 | 198 2.00 |2008k 4096B| 12 2 3 1 47|java 18891
25M 547k 33%|java 188911736k4096B 33%
0 | 223 0 |2304k 0 | 12 2 3 1 43|java 18891
26M 440k 31%|java 188912048k 0 31%
0 | 196 16.0 |2440k 324k| 12 2 1 1 40|java 18891
49M 444k 39%|java 188912812k 84k 39%
18891 is ES process.
top shows
Cpu(s): 16.0%us, 0.5%sy, 0.0%ni, 0.4%id, 83.1%wa, 0.0%hi, 0.1%si,
0.0%st
%wa is very high constantly.
Could you please advice, what could be wrong and how it could be fixed?
Thank you
--