Anyway - at some point ElasticSearch started taking up 100% CPU load on the machine and stopped responding a couple of minutes later.
So I stopped ElasticSearch and started it again - this time not in deamon mode. This started showing me the exceptions that were occurring.
As it turns out ElasticSearch wants you to change 2 configuration settings on your machine: number of open files and disable swapping.
After doing this - ES runs like a charm again.
By the way - increasing the number of open files on Ubuntu Server is described here: http://posidev.com/blog/2009/06/04/set-ulimit-parameters-on-ubuntu/
No comments:
Post a Comment