- IMSCP: 1.4.7
- Distribution: Debian 9
- PHP FCGID
- MariaDB 10.1
Today I have to do a emergency migration from 1.4.3 ... all files are migrated and database are imported from mariadb 10.0 .. should be ready to start migration.
But if I run mysql_upgrade --force I get many errors:
mysqlcheck: Error: Couldn't get table list for database db: Can't read dir of './db/' (errno: 24 "Too many open files")
OK, so now I have tried to set this:
but it does not work:
cat /proc/$(pgrep mysql)/limits | grep files
Max open files 16364 16364 files
I guess I need some help here w/ the migration ...