当我运行cassandra时会遇到这些错误。有什么问题?
WARN 06:01:00 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.
INFO 06:01:00 JMX is enabled to receive remote connections on port: 9909
WARN 06:01:00 OpenJDK is not recommended. Please upgrade to the newest Oracle Java release
INFO 06:01:00 Initializing SIGAR library
WARN 06:01:00 Cassandra server running in degraded mode. Is swap disabled? : false, Address space adequate? : true, nofile limit adequate? : true, nproc limit adequate? : false
答案 0 :(得分:2)
Cassandra会检查提高性能的常用方法。请参阅以下文档,其中详细介绍了建议的设置/环境: