Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/70.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql CloudSQL数据库定期崩溃(内存不足)_Mysql_Google Cloud Platform_Google Cloud Sql - Fatal编程技术网

Mysql CloudSQL数据库定期崩溃(内存不足)

Mysql CloudSQL数据库定期崩溃(内存不足),mysql,google-cloud-platform,google-cloud-sql,Mysql,Google Cloud Platform,Google Cloud Sql,我们遇到了一个问题,cloudSQL数据库会定期崩溃 我们在日志中看到的错误是: [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 fil

我们遇到了一个问题,cloudSQL数据库会定期崩溃

我们在日志中看到的错误是:

[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.
据我所知,错误编号12表示“无法分配内存”。有没有一种方法可以配置cloudsql以保留更大的可用内存缓冲区?另一种方法是升级以拥有更多内存,但据我所知,cloudSQL会自动使用所有可用内存。。。这可能会减少问题,还是会以同样的方式继续下去?
我们是否可以采取其他措施来减少此问题?

您的系统可能正在耗尽磁盘空间而不是内存,尤其是在HA配置中运行时

(如果磁盘不是问题,则应提交GCP支持通知单,而不是在此处提交)