try this :
modif : /etc/systemd/user.conf /etc/systemd/system.conf with : DefaultlimitNOFILE=65535 DefaultlimitMEMLOCK=5000000
modif : /etc/security/limits.conf
with :
mkasberg hard nofile 65535 mkasberg soft nofile 65535 @sudo hard memlock 5000000 @sudo soft memlock 5000000
reboot
ulimit -l
you will see : 5000000
try this :
modif : /etc/systemd/ user.conf
/etc/ systemd/ system. conf
DefaultlimitNO FILE=65535
DefaultlimitME MLOCK=5000000
with :
modif : /etc/security/ limits. conf
with :
mkasberg hard nofile 65535
mkasberg soft nofile 65535
@sudo hard memlock 5000000
@sudo soft memlock 5000000
reboot
ulimit -l
you will see :
5000000