ariadb-mysql-Out-of-resources-when-opening-file

#Mariadb mysql Out of resources when opening file '/var/tmp/' (Errcode: 24 "Too many open files")
#https://blog.csdn.net/fatsimple/article/details/52052042
vim /etc/my.conf
open_files_limit=100000

systemctl restart mariadb