Hi, I'm super new to ES and I have some problems. Actually, quite a lot.
My setup is at the end, the only thing that matters to understand my problems is that I have two different servers which share some problems but not all. I'll call them "local" and "distant".
Problems
First
First, in both servers I spend a lot of times in the GC. Here are two logs (first local, second distant) :
[INFO ][o.e.m.j.JvmGcMonitorService] [SBii_Wb] [gc][182] overhead, spent [330ms] collecting in the last [1s]
[INFO ][o.e.m.j.JvmGcMonitorService] [SBii_Wb] [gc][205] overhead, spent [393ms] collecting in the last [1.3s]
I didn't understand why it made this, though I google quite a lot about it.
Second
My second problem is that I get timedout from ES. Both Kibana and my program get timedout and I don't understand why. And it happens on both machines. Probably for different reasons.
Third
On my local setting, it happens that my RAM goes up to 100% usage. When it happens, ES just crashes. Can I do something to prevent this ?
Fourth (and last)
On both the local and distant, I have the following warning :
[WARN ][o.e.b.BootstrapChecks ] [SBii_Wb] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
On the distant one, I also have :
[WARN ][o.e.b.BootstrapChecks ] [SBii_Wb] max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
As you'll read in my setup, I'm not root. Could I change those settings without being it ?
Setup
Here is my setup. I can't be root so I'm using the tar.gz version of ES. I have about 540k documents in a single index and a single primary shard (from what I understood at least). I'd like to request ES up to 200 q/s and if possible up to may be 1k/s. I have the resources (RAM and CPU) to do so but I have troubles with ES. All documents only weights 1.4GB. Another precision, I actually have more indices as I'm using Kibana and I'm testing some parameters on the search engine (changing k1 and b on BM25 model). My jvm heap size is set to 16GB. If you need any more info just ask.
Thanks for reading and answering if you can.
Cheers