Recently I've made an e-Commerce (a clone of eBay) app in Rails, and the search engine, I used the ElasticSearch (with the awesome Searchkick gem). In development machine, all works in perfectly harmony. (Vagrant - Ubuntu 14.04 - with 1 GB RAM)
In production machine, I've performed a default deploy procedures, like others deploys I've maded yet.
And I notice, sometimes my elasticsearch service dies. I have no idea what happen, to my ElasticSearch goes down.
My VPS is a CentOS with 1GB RAM, running a Nginx + Passenger to handle the Rails App. And has a Apache instance too, running to serve the WHMCS (but in 8080 port).
The average use of RAM machine is 640 MB RAM. I think is not a memory heap problem.
Anyone have idea?
Is the 1GB RAM to handle the NGINX + Passenger + ElasticSearch is insufficient?