Elasticsearch doesn't start after overwhelming

Hi there,

I was trying a performance of elasticsearch by running script for generating logs. In particular around 600 000 logs per approximately 1 minute were generating on one VM where Filebeat was sending it to logstash on another VM where I have logstash, kibana and elasticsearch. Filebeat could've sent only 8 000 logs that i saw in kibana and then stopped.

I turned off the VMs and when I turned them on again Elasticsearch either Kibana haven't worked :frowning:

There is my systemctl status output:

root@elk:~# systemctl status elasticsearch.service
● elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2019-07-14 18:54:26 UTC; 4s ago
 Docs: http://www.elastic.co
  Process: 9520 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
 Main PID: 9520 (code=exited, status=1/FAILURE)

Jul 14 18:54:26 elk elasticsearch[9520]:         at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
Jul 14 18:54:26 elk elasticsearch[9520]:         at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:389)
Jul 14 18:54:26 elk elasticsearch[9520]:         at java.base/java.nio.file.Files.createDirectory(Files.java:692)
Jul 14 18:54:26 elk elasticsearch[9520]:         at java.base/java.nio.file.TempFileHelper.create(TempFileHelper.java:135)
Jul 14 18:54:26 elk elasticsearch[9520]:         at java.base/java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:172)
Jul 14 18:54:26 elk elasticsearch[9520]:         at java.base/java.nio.file.Files.createTempDirectory(Files.java:1009)
Jul 14 18:54:26 elk elasticsearch[9520]:         at org.elasticsearch.tools.launchers.Launchers.createTempDirectory(Launchers.java:66)
Jul 14 18:54:26 elk elasticsearch[9520]:         at org.elasticsearch.tools.launchers.TempDirectory.main(TempDirectory.java:54)
Jul 14 18:54:26 elk systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Jul 14 18:54:26 elk systemd[1]: elasticsearch.service: Failed with result 'exit-code'.

Thank you for any help in advance!

What is in the Elasticsearch logs? What does you configuration look like? What is the specification of the host(s) you are running this on? What type of storage are you using?

I guess it is the same issue

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.