Situation: DJI-Manifold2G(8+128) make the FasterLio(?
Way:
modify the /etc/security/limits.conf (add something like down:)
# End of file
ubuntu hard stack 2024
ubuntu soft stack 2024
dji hard stack 102400
dji soft stack 102400
root hard stack 2024
root soft stack 2024
dji hard nofile 65535
dji soft nofile 65535
root hard nofile 65535
root soft nofile 65535
ubuntu hard nofile 65535
ubuntu soft nofile 65535
and reboot
and terminal input to make sure
dji@manifold2:~$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 31110
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 65535
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 102400
cpu time (seconds, -t) unlimited
max user processes (-u) 31110
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
reference:
linux中ulimit的作用_ulimit -a_羊狗狗一只2022年的博客-CSDN博客
Ubuntu 18.04 修改 ulimit_ubuntu ulimit kbytes_mixboot的博客-CSDN博客