Datastax Enterprise Ubuntu 安装系统限制

Datastax Enterprise Ubuntu installation system limits

我最近使用 Datastax AMI 在 Ubuntu 14.04 上安装了一个 5 节点 Datastax Enterprise/Cassandra 2.1 集群。我能够成功启动集群,但是当我这样做时,我在控制台上收到有关某些 linux 限制的错误,如下所示:

The linux limit 'memlock' is '64'. The recommended is 'unlimited'. Check your limits.conf. The linux limit 'nofile' is '4096'. The recommended is '100000'. Check your limits.conf. Check our documentation for more details. http://docs.datastax.com/en/cassandra/2.1/cassandra/install/installRecommendSettings.html?scroll=reference_ds_sxl_gf3_2k__user-resource-limits

当我检查限制文件时,为 cassandra 和 root 用户正确设置了 memlock 和 nofile 限制。但是设置被忽略了。还有其他人遇到过这个问题吗?我对 linux 设置没有那么多经验,我不确定在哪里查找错误。对不起,如果这个问题已经被问过并回答过,我在搜索时没有找到这个问题。

鲍勃·格拉塞特

您可能想尝试重新启动系统。软件包安装程序将尝试使用 sysctl 在运行时设置各种选项,但可能存在问题。