MySQL crash with error 23 -
while loading batch of data mysql database (everything running locally data management research project), server crashed no obvious reason. examination of logs showed following errors:
error, innodb: operating system error number 23 in file operation. innodb: operating system error numbers described @ http://dev.mysql.com/doc/refman/5.7/en/operating-system-error-codes.html error, innodb: file .\analysis_lastfm\lastfm_scrobbles.ibd: 'windows aio' returned os error 123. cannot continue operation innodb: cannot continue operation.
this seemed that, somehow, named .ibd file had become corrupted. after various unsuccessful debugging attempts, deleted data, reinstalled mysql, , tried restoring backup. backup before had had problems (in other words, seems doubtful there's wrong data in backup). other tables restored fine, after couple of hours importing data lastfm_scrobbles table, server crashed same error.
i realize question isn't specific be, i'm trying figure out next troubleshooting steps should (keeping in mind i've reinstalled mysql , attempted restore backup). other idea have @ point reformatting hard drive , reattempting restore, don't know if that's warranted @ point...
given seems issue not corruption, error system has many files open. issue not understood/documented on windows on linux.
it may reduce table_open_cache , innodb_open_files variables down smaller. if can report current size may able recommend better values seems total open file count may need under 512-2048 (not sure which).
show global variables '%open%';
Comments
Post a Comment