I am trying to optimize the performance of my Docker Cassandra containers (3.7+). I found a presentation from 2015 that mentioned (on slide 21) that I have to provide CAP_IPC_LOCK and set ulimit lock.
After a slight skew, it seems that the two options basically do not allow the system to exchange JVMs, which modern versions of Cassandra seem to achieve using JNA.
Setting --ulimit memlock=-1:-1 on my Docker containers has an effect that
INFO 12:42:33 JNA mlockall successful
printed at boot, so I assume that everything is done and done.
Should I still need --cap-add=CAP_IPC_LOCK , and if so, how can I determine if I installed it correctly?
xrstf source share