Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase the max_open_files settings #2

Merged
merged 1 commit into from
Jun 8, 2021

Conversation

stephdl
Copy link
Contributor

@stephdl stephdl commented Jun 7, 2021

When we restart our specific mariadb 105 instance of nextcloud, we have some log traces relative to the maximum number of files.

May 31 17:05:33 ns7loc11 esmith::event[11596]: [INFO] service rh-mariadb105-mariadb@nextcloud restart
May 31 17:05:33 ns7loc11 systemd: Stopping MariaDB 10.5 database server...
May 31 17:05:34 ns7loc11 systemd: Stopped MariaDB 10.5 database server.
May 31 17:05:34 ns7loc11 systemd: Starting MariaDB 10.5 database server...
May 31 17:05:34 ns7loc11 scl: Database MariaDB is probably initialized in /var/opt/rh/rh-mariadb105/lib/mysql-nextcloud already, nothing is done.
May 31 17:05:34 ns7loc11 scl: If this is not the case, make sure the /var/opt/rh/rh-mariadb105/lib/mysql-nextcloud is empty before running mysql-prepare-db-dir.
May 31 17:05:34 ns7loc11 mysqld-scl-helper: 2021-05-31 17:05:34 0 [Note] /opt/rh/rh-mariadb105/root/usr/libexec/mysqld (mysqld 10.5.8-MariaDB) starting as process 12903
 ...
May 31 17:05:34 ns7loc11 mysqld-scl-helper: 2021-05-31 17:05:34 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 32184)
May 31 17:05:34 ns7loc11 mysqld-scl-helper: 2021-05-31 17:05:34 0 [Warning] Changed limits: max_open_files: 1024  max_connections: 151 (was 151)  table_cache: 421 (was 
2000)
May 31 17:05:34 ns7loc11 systemd: Started MariaDB 10.5 database server.

NethServer/dev#6506

@nethbot
Copy link
Member

nethbot commented Jun 7, 2021

in 7.9.2009/autobuild:

@stephdl stephdl requested a review from gsanchietti June 7, 2021 17:07
@nethbot
Copy link
Member

nethbot commented Jun 7, 2021

in 7.9.2009/autobuild:

@gsanchietti gsanchietti merged commit 141fc9d into NethServer:master Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants