• 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 max_open_files request:32190

Dukemaster

Regular Pleskian
After MariaDB Upgrade 10.3 to 10.5 on Ubuntu 18.04.5 server I watched status and get the [Warning] Could not increase number of max_open_files to more than 8192 (request: 32190)
Is it okay and good to increase number of max_open_files to such high numbers?

Please, what do you suggest?

Greets

Here is the complete output:

Code:
root@server:~# systemctl status mariadb
● (<- green) mariadb.service - MariaDB 10.5.5 database server
   Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/mariadb.service.d
           └─migrated-from-my.cnf-settings.conf, override.conf
   Active: active (running) since Thu 2020-09-24 13:12:55 CEST; 1 day 8h ago
     Docs: man:mariadbd(8)
           https://mariadb.com/kb/en/library/systemd/
Main PID: 2860 (mariadbd)
   Status: "Taking your SQL requests now..."
    Tasks: 32 (limit: 4915)
   CGroup: /system.slice/mariadb.service
           └─2860 /usr/sbin/mariadbd

Sep 24 13:12:24 server.example.com systemd[1]: Starting MariaDB 10.5.5 database server...
Sep 24 13:12:32 server.example.com mariadbd[2860]: 2020-09-24 13:12:32 0 [Note] /usr/sbin/mariadbd (mysqld 10.5.5-MariaDB-1:10.5.5+maria~bionic) starting as process 2860 ..
Sep 24 13:12:32 server.example.com mariadbd[2860]: 2020-09-24 13:12:32 0 [Warning] Could not increase number of max_open_files to more than 8192 (request: 32190)
Sep 24 13:12:55 server.example.com systemd[1]: Started MariaDB 10.5.5 database server.
Sep 24 13:12:57 server.example.com /etc/mysql/debian-start[6547]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
Sep 24 13:12:57 server.example.com /etc/mysql/debian-start[6547]: Looking for 'mysql' as: /usr/bin/mysql
Sep 24 13:12:57 server.example.com /etc/mysql/debian-start[6547]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
Sep 24 13:12:57 server.example.com /etc/mysql/debian-start[6547]: This installation of MariaDB is already upgraded to 10.5.5-MariaDB, use --force if you still need to run m

root@server:~#
 
Here is a good article that addresses the warning message:

For today's normal usage, a number like 32190 is not only appropriate, it might even be too low. On our systems, we normally have a six figure number for open files. It depends on how many connections you have to the server, how many files are open at the same time etc. The more users are on the system, the more databases, the more tables, the higher the limit needs to be.
 
Last edited:
Back
Top