Edit
/etc/security/limits.conf and add the following linesmysql soft nofile 65535 mysql hard nofile 65535
Edit /usr/lib/systemd/system/mysqld.service and addLimitNOFILE=infinity LimitMEMLOCK=infinity Then run systemctl daemon-reload and systemctl restart mysql.service . |
Thursday, February 11, 2016
Increase limits - percona 5.7, centos 7.2
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment