WeBWorK Main Forum

wwmysqldump error

wwmysqldump error

by Joseph Lo -
Number of replies: 2

I was trying to following "Backup and Disaster Recovery" and have wwmysqldump created. When I run wwmysqldump, it gives the following error message:

mysqldump: Got error: 23: Out of resources when opening file './webwork/MATH_5504_201930_past_answer.MYD' (Errcode: 24 - Too many open files) when using LOCK TABLES

People from the internet suggested increasing open_file_limit but I wasn't able to change that. Any help will be appreciated.

In reply to Joseph Lo

Re: wwmysqldump error

by Danny Glin -
I solved this by increasing the open_file_limit as suggested by the internet. Is there a reason that you were unable to change that?
In reply to Danny Glin

Re: wwmysqldump error

by Joseph Lo -
Thanks very much for the reply. Perhaps I did something wrong last time but it seems to work now by following this page:

https://ixnfo.com/en/how-to-change-open_files_limit-in-mysql.html