MySQL/MariaDB error on the server with Plesk: Could not increase number of max_open_files to more than 16384

Comments

1 comment

  • Avatar
    Karl May

    Step 3 is wrong. Founded files says “It's not recommended to modify this file in-place, because it will be overwritten during package upgrades.”

    You must go to /etc/systemd/system/mariadb.service.d and create a new file like "custom_limits.conf" and put this in it:

    [Service]
    LimitNOFILE=32335

    and continue with step 4, 5 and 6.

    Step 7: Check its working with:

    # systemctl status mariadb

    0

Please sign in to leave a comment.

Have more questions? Submit a request