Configuring Cassandra user account resource limits

Set minimum ulimits for the Cassandra server to prevent Global Mailbox processes from failing.


  1. Use the ulimit -a command to view the current limits for the Cassandra user account. Set the following minimum limits for this account:
    <cassandra_user> - memlock unlimited
    <cassandra_user> - nofile 100000
    <cassandra_user> - nproc 32768
    <cassandra_user> - as unlimited
    Important: Ensure that these settings are included in the /etc/security/limits.conf file.
  2. Add vm.max_map_count = 1048575 to /etc/sysctl.conf.
  3. Restart the server.
  4. Run the following command where pid is the process ID of the Cassandra process that is currently running:
    $ cat /proc/<pid>/limits