ansible-elk icon indicating copy to clipboard operation
ansible-elk copied to clipboard

Important System Configuration

Open cduongvn opened this issue 8 years ago • 5 comments

The following settings must be addressed before going to production mode:

  • Set JVM heap size (done)
  • Disable swapping
  • Increase file descriptors
  • Ensure sufficient virtual memory
  • Ensure sufficient threads

https://www.elastic.co/guide/en/elasticsearch/reference/current/system-config.html

I would love to have these configuration in the scripts.

Thanks for this amazing setup. Canh

cduongvn avatar Feb 13 '17 19:02 cduongvn

Hey @nautilus28 thanks for addressing these issues. Would these need to be configured before adding the host or after running the second playbook?

mbrost avatar Mar 15 '17 00:03 mbrost

@mbrost I think they should be done by using different tasks in specific roles of elasticsearch deployment.

cduongvn avatar Mar 15 '17 17:03 cduongvn

I haven't forgotten about this, I am finding time here and there to solve any open issues or RFE that people open (thanks for opening this!). I see this sort of enhancement check becoming more important as the 5.x series has become much more demanding - people running this in a VM really need at least 6-8G of memory now for example or things time out.

I don't have an ETA but hope to have more time soon to implement this.

sadsfae avatar Jul 29 '17 23:07 sadsfae

@sadsfae Would the changes here be beneficial for m4.large OR m4.xlarge EC2 instance within AWS as well?..

alnash28 avatar Sep 29 '17 18:09 alnash28

@anash28 These changes are recommended by Elastic and should be implemented in any instance. The issue, primarily, is the JVM running out of memory and crashing your shards.

knechtionscoding avatar Oct 02 '17 12:10 knechtionscoding