I have an instance of elasticsearch (v8.6.1) with single node configuration.
The hardware spec is:
Storage: 1TB NVME-M2
CPU: 20 core
Currently less than 30% of storage is used and swap is off.
The problem I have is that sometimes when indexing documents, server hangs and doesn't respond. I had difficulty in communicating with server through ssh too in that period, but after some struggle, the output of atop command shows
iosome 90% and
iofull 90%. Also during the time that elastic does not respond, the CPU usage is below 5%, so the problem should not be relate to over CPU utilization.
I couldn't find any solution, so any help would be appreciated.