一、背景 mysql資料遷移,遷移部分然後報錯“open too many files”。 二、步驟 1.修改/etc/security/limits.conf,追加以下兩行。 * soft nofile 65535 * hard nofile 65535 2.ulimit -n或者ulimit -a檢視,注意需要重新登入控制台檢視,否則不生效。 【采坑】innobackupex 遷移db報錯,“open too many files”