Verifying Elasticsearch Status
Elasticsearch often crashes silently due to low memory (Java Heap). Check if it's running via curl.
1. The "You Know, for Search" Response
Run this command. If you see JSON, it works!
curl -X GET "localhost:9200/"
2. Out of Memory Fix
If it crashes immediately, increase JVM heap size in your environment variables:
export ES_JAVA_OPTS="-Xms512m -Xmx512m"