Mlock and PLEX Media Server

I'm working on an IOCAGE Jail in FreeBSD 13.1 Have installed PlexMediaServer and noticed that the server won't run due to mlock. I've modified the jail.conf file adding allow.mlock, but that failed to allow the server to run. I wonder if I should have used allow.mlock = 1;

I have working systems using TrueNAS which does all this for me. But I like to know how to make the IOCAGE jail and fix mlock the simple way...

anyone ?

It's been a long time since I've done anything like this so I'm no expert, but I would comment as follows:

FreeBSD 13.1 will support allow mlock directive. Anything after version 12 should work

Yes, I would be using the '=1'

AFAIR, I would use underscore not period as in:

allow_mlock = 1;

Thanks for the reply... I've noticed quite a bit of traffic on this issue, but few answers. I found jail.conf, and made changes, but didn't notice that the jail name was 'test jail {' ... I'm taking baby steps so I don't kill plex.

Anyway... have tried many different configurations.... allow.mlock; allow.mlock =1; stopping and restarting plex, maybe I should be stopping and restarting the jail.

Will try that next.