title: Datastax Enterprise Ubuntu installation system limits
body: <p>I recently installed a 5 node Datastax Enterprise/Cassandra 2.1 cluster on Ubuntu 14.04 using a Datastax AMI.  I was able to bring the cluster up successfully, however when I did, I received errors on console about some linux limits, shown below:</p>
  
  <blockquote>
    <p>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. <a href="http://docs.datastax.com/en/cassandra/2.1/cassandra/install/installRecommendSettings.html?scroll=reference_ds_sxl_gf3_2k__user-resource-limits" rel="nofollow">http://docs.datastax.com/en/cassandra/2.1/cassandra/install/installRecommendSettings.html?scroll=reference_ds_sxl_gf3_2k__user-resource-limits</a></p>
  </blockquote>
  
  <p>When I checked the limits file, the memlock and nofile limits are set properly for both the cassandra and root user.  However the settings are getting ignored.  Has anyone else experienced this problem?  I'm not that experienced with linux settings and I'm not sure where to look for an error.  Sorry if this has already been asked and answered, I didn't find this question when searching.</p>
  
  <p>Bob Glassett</p>