• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Migration Unable to copy content of database Too many open files

heopas

New Pleskian
I am trying to migrate a huge website from cpanel to plesk. This website is a WordPress multisite that allows users to create their own blog. Wordpress multisite create new tables for each new user and blog, this is how it works. I have set open-files-limit to 65535 on both servers but I am getting the following error in migration.

stderr: mysqldump: Got error: 1030: "Got error 24 "Too many open files" from storage engine MyISAM" when using LOCK TABLES
 
Some suggestions:

Increase the general maximum file descriptor value. Edit /etc/sysctl.conf and add/modify:
fs.file-max = 65535

Edit /etc/security/limits.conf and add:
mysql soft nofile 65535
mysql hard nofile 65535

Reload values:
# systemctl --system daemon-reload

Restart service:
# service mysql restart
(# service mariadb restart)

You might need to change the MySQL open_files_limit variable, too:
MySQL :: MySQL 5.7 Reference Manual :: 5.1.4 Server Command Options

If this cannot be done you can try to create your MySQL Dump on the CPanel machine by adding
--single-transaction
as a command line parameter. It will break down the transactions to be done one by one.

If that does not help, you can try to user Ozerov's "Bigdump" utility for import.
BigDump: Staggered MySQL Dump Importer
 
Back
Top