Pod hawkular-metrics not starting in OpenShift 3
Issue
In Cassandra logs
****WARN [main] 2020-05-12 09:18:10,825 DatabaseDescriptor.java:603 - Only 50393 MB free across all data volumes. Consider adding more capacity to your cluster or removing obsolete snapshots ****
cassandrapodlogs:WARN [CompactionExecutor:2723] 2020-05-18 10:45:47,493 CompactionTask.java:315 - Not enough space for compaction, estimated sstables = 1, expected write size = 13486
cassandrapodlogs:java.lang.RuntimeException: Not enough space for compaction, estimated sstables = 1, expected write size = 13486
[...]
cassandrapodlogs:WARN [CompactionExecutor:2724] 2020-05-18 10:46:47,505 CompactionTask.java:315 - Not enough space for compaction, estimated sstables = 1, expected write size = 573
cassandrapodlogs:java.lang.RuntimeException: Not enough space for compaction, estimated sstables = 1, expected write size = 573
cassandrapodlogs:WARN [CompactionExecutor:2723] 2020-05-18 10:46:47,512 CompactionTask.java:315 - Not enough space for compaction, estimated sstables = 1, expected write size = 2047
cassandrapodlogs:java.lang.RuntimeException: Not enough space for compaction, estimated sstables = 1, expected write size = 2047
[...]
WARN [main] 2020-05-12 09:18:11,246 NativeLibrary.java:180 - Unable to lock JVM memory (ENOMEM). This can result in part of the JVM being swapped out, especially with mmapped I/O enabled. Increase RLIMIT_MEMLOCK or run Cassandra as root.
WARN [main] 2020-05-12 09:18:11,305 StartupChecks.java:254 - Maximum number of memory map areas per process (vm.max_map_count) 262144 is too low, recommended value: 1048575, you can change it with sysctl.
Environment
- Red Hat OpenShift Container Platform 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.