Project: datamanagement
Issue DM-6177: Increase memory locked amount in container
In order to lock memory, the memory locking limit within the container for the qserv worker needs to be raised. My understanding is the container uses whatever is the host setting so the limit has to be set for the container user and whatever the user is inside the container. The particular limits is: memorylocked 64 kbytes notice that by default it's 64K. That needs to be raised to say 75% of the real machine size. I wouldn't make it unlimited as a memlock mistake may crash the whole machine. The limits are specified in "/etc/security/limits.conf". You will know that you are successul when you ssh into the container as the qserv worker user and the "limit" command tell you have can lock lots of memory. We would also set the CAP_IPC_LOCK privilege but setting the soft/hard limit above should be good enough. So, let's start with that.
Story points: 2