Could not increase number of max_open_files to more than... (Solution)

Today, on a new Ubuntu 22.04 LTS server running the latest cPanel, the override locations to increase from 10k max open files were:

/usr/lib/systemd/system/mysql.service

and:

/etc/systemd/system/mysqld.service.d/limits.conf

image

1 Like