Thursday, September 21, 2017

[google-cloud-sql-discuss] Database crashes periodically

We are having a problem where our cloudSQL database crashes periodically.

The error we are seeing in the logs is: 
[ERROR] InnoDB: Write to file ./ib_logfile1failed at offset 237496832, 1024 bytes should have been written, only 0 were written. Operating system error number 12. Check that your OS and file system support files of this size. Check also that the disk is not full or a disk quota exceeded.

From what I understand, error number 12 means 'Cannot allocate memory'. Is there a way we can configure cloudsql to leave a larger buffer of free memory? The alternative would be to upgrade to have more memory, but from what I understand cloudSQL automatically uses all the memory available to it... Is this likely to reduce the problem or would it likely continue in the same way? 
Are there any other things we can do to reduce this issue?

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/9a448afb-f6cc-4b20-9475-05f040ee241d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment