Bug #80849 Add signal handler for SIGXFSZ
Submitted: 24 Mar 2016 13:34 Modified: 1 Apr 2016 10:08
Reporter: Jay Janssen Email Updates:
Status: Verified Impact on me:
Category:MySQL Server: Errors Severity:S3 (Non-critical)
Version:5.5, 5.7.11 OS:Any
Assigned to: CPU Architecture:Any

[24 Mar 2016 13:34] Jay Janssen
I've seen MySQL servers crash with no specific error log message that turned out to be SIGXFSZ.  Would it be appropriate to add a signal handler for that to at least exit with an appropriate error?

How to repeat:
In my case I could reproduce this when MySQL was using a file > 2TB on an ext3 filesystem.  I suspect there are some easier ways to reproduce it.

Suggested fix:
Add a SIGXFSZ handler to at least emit an error message to the log before aborting MySQL
[1 Apr 2016 10:08] MySQL Verification Team
Hello Jay,

Thank you for the report and reasonable feature request.