TL;DR ã¦ãããè¨å®ãã¡ã¤ã«ã« LimitNOFILE ãæ¸ã /etc/systemd/system/<unit>.d/override.conf ã«æ¸ãã¨ãªããã çµç·¯ CentOS 7 ã« MariaDB ãæ§ç¯ãã¦ãã¦ãmy.cnf ã«ä¸è¨è¨å®ãå ¥ãã¦ãã¾ããã open-files-limit = 65536 ããããããã»ã¹ã® Limit ã調ã¹ã¦ã¿ã㨠1024 ã«ãªã£ã¦ãã¦ããã°ã«ããã®æ¨ãåºã¦ãã¾ãã # cat /proc/`pidof mysqld`/limits | grep -i "max open files" Max open files 1024 4096 files # tailf /var/log/mariadb/mariadb.log ...snip... 150712 16:48:49 [Warning] Could not increase n
{{#tags}}- {{label}}
{{/tags}}