In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
Editor to share with you how to change the invalid open_files_ threshold of too many files problems in mysql. I hope you will get something after reading this article. Let's discuss it together.
[root@hs-79 etc] the value of the # ulimit-n204800 system is correct. Then modify the / etc/my.cnf configuration file. After adding the open_files_limit=65535 restart service, check the show variables like'% open%'; and find that the value of open_files_limit is still 1024. In this case, we need to modify the last place, cat-n / etc/systemd/system/mysql.service, add LimitNOFILE=65535 # newly added content to the mysql.service, add the service restart service on the last line, modify the mysql.server, you may need systemctl daemon-reload.
When innobackupex makes a backup, too many open files finds that the number of files under my mysql is more than 10W, so you need to set ulimit-n 1048576 to fail after restart, so you also need to modify the system configuration file, modify the system configuration file / etc/security/limits.conf * soft nofile 1048576 * hard nofile 1048576 and set my.cnf open-files-limit=1048576 to restart the mysql service after reading this article I believe you have a certain understanding of "what to do if the change of the open_files_ threshold value of too many files problems in mysql is invalid". If you want to know more about it, welcome to follow the industry information channel, thank you for your reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
SYS@hyyk > select table_name from dict where table_name like'% CONTROL%'; TABLE_NAME-
© 2024 shulou.com SLNews company. All rights reserved.