zalando-stups / planb-cassandra

Plan B Cassandra for STUPS/AWS with static IPs
Other
27 stars 18 forks source link

Restart server process on OOM #206

Open a1exsh opened 6 years ago

a1exsh commented 6 years ago

In case of the OutOfMemoryError Cassandra server will dump the heap into $CASSANDRA_HEAPDUMP_DIR if that was configured. We can detect this and restart the server process. Some back-off would be nice to have in case it enters a crashloop.