• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question I want to set table_open_cache of MariaDB

Zoo3

Regular Pleskian
I'm using MariaDB 10.3.9.
I am troubled because the setting value of table_open_cache in /etc/my.cnf is not setted.
I'm enter the mysql with "mysql -uadmin -p`cat /etc/psa/.psa.shadow`". If I run it with "set global table_open_cache = XXX;" the setting will be setted.

I check the value of that item in MySQL and it is "447". Whatever I value it (eg 100000) with my.cnf is "447". I restored my.cnf to the original file and check its value, it is "421". The default value of table_open_cache in MariaDB 10.3 is "2000". Is the setting overwritten by something? If I do not set anything, it should be 2000. But it is "421". *The default value of old MariaDB is 400.

If I'm using Plesk, is there any item to set MariaDB outside /etc/my.cnf? There is only one of my.cnf /etc/my.cnf. There is no effect even if editing server.cnf or clinet.cnf in /etc/my.cnf.d/.

I use "MySQL Tuner" to optimize MariaDB setting values. Still a strange symptom.
I point out that the value of table_open_cache should be larger than 447. I can not set my.cnf, so set it up with the mysql command. And if I set the value to a large value, MySQL Tuner points out that it should be larger than that value. For example I point out that even if 10M is set, it should be over 10M. Is there an upper limit when excluding server hardware specifications?

Can not use MariaDB 10.3 with Plesk 17.8?

Thanks in advance.

---
CentOS 7.5 / MariaDB 10.3.9 / Plesk 17.8.11
 
I downgraded MariaDB from 10.3 to 10.2. *I had a hard time downgrading...

systemctl start mariadb:
[Warning] Could not increase number of max_open_files to more than 1024 (request: 4131)
[Warning] Changed limits: max_open_files: 1024 max_connections: 100 (was 100) table_cache: 447 (was 2000)
Started MariaDB 10.2.18 database server.
**The number enclosed in parentheses is the value specified by /etc/my.cnf.


The state did not change. Where is this the cause?
 
This may have been the cause. Is the problem "LimitNOFILE"?
I changed LimitNOFILE value of "migrated-from-my.cnf-settings.conf" in /etc/systemd/system/mariadb.service.d/ from 1024 to 65536.

/etc/systemd/system/mariadb.service.d/migrated-from-my.cnf-settings.conf
# converted using /usr/bin/mariadb-service-convert
#
[Service]
LimitNOFILE=1024 --> "65536"​

I have not remembered that I have intentionally changed this value. It may have been overwritten by MariaDB's update.
So there is a question. What is the initial value of LimitNOFILE in Plesk Onyx?
 
Back
Top