increase open file limit linux mac catalina mariadb

Shell
ulimit -S -n 2048 # or whatever number you choose

Source

Also in Shell: