I have deployed Elasticsearch on a development Ubuntu VPS. We use that VPS only to host API for mobile apps.
Everything worked good till today, elasticsearch stopped working.
I tried to restart it, it says "Server ok" but when I check the status it gives me: "is not running".
The Ruby on Rails app log contains:
Errno::ECONNREFUSED (Connection refused - connect(2))
After that, I start getting this error: Too many open files
Can anyone help me?