Cpanel / MariaDB - Could not increase number of max_open_files to more than 100000 Drucken

  • 0

Waiting for “mysql” to restart ……waiting for “mysql” to initialize ………finished.

Service Status
mariadb (/usr/sbin/mysqld) is running as mysql with PID 3493066 (systemd+/proc check method).

Startup Log
Aug 12 12:07:57 servertest07.offshore-cloud.com systemd[1]: Starting MariaDB 10.3.24 database server...
Aug 12 12:07:57 servertest07.offshore-cloud.com mysqld[3493066]: 2020-08-12 12:07:57 0 [Note] /usr/sbin/mysqld (mysqld 10.3.24-MariaDB) starting as process 3493066 ...
Aug 12 12:07:57 servertest07.offshore-cloud.com mysqld[3493066]: 2020-08-12 12:07:57 0 [Warning] Could not increase number of max_open_files to more than 100000 (request: 525335)
Aug 12 12:07:57 servertest07.offshore-cloud.com systemd[1]: Started MariaDB 10.3.24 database server.

mysql restarted successfully.

 

You've to changed the value in /etc/systemd/system/mariadb.service.d/migrated-from-my.cnf-settings.conf to resolve the issue.

 

For MySQL, same technique with a different file.

You can easily check the current value with a cat/grep :

 

cat /etc/systemd/system/mysql.service | grep LimitNOFILE

 


War diese Antwort hilfreich?

« Zurück