Increase system file descriptor limit linux

Set high FD limit for current session and persist it

ulimit -n 1048576 && echo '* soft nofile 1048576 * hard nofile 1048576' >> /etc/security/limits.conf