简体   繁体   English

8GB RAM VPS上的Magento-MySQL性能

[英]Magento on 8GB RAM VPS - MySQL performance

I've got VPS with 8GB RAM and 256GB SSD. 我有配备8GB RAM和256GB SSD的VPS。 Now, on that server, I have a Magento install that has ~100k products in it. 现在,在该服务器上,我安装了一个Magento,其中包含约10万个产品。 That said, once a day I run an importer to go through products and import/update them, but it always fills up my memory and VPS goes unresponsive. 就是说,每天我要运行一个导入器来浏览产品并导入/更新它们,但是它总是会占用我的内存,并且VPS无法响应。 I've 1GB PHP memory limit, and 5GB innodb_buffer_pool_size. 我有1GB的PHP内存限制,还有5GB的innodb_buffer_pool_size。 Everything else is by default. 其他所有内容默认情况下都是。 My server is on Ubuntu 16.04. 我的服务器在Ubuntu 16.04上。

大量的产品,加上查询编码不佳,导致实际上消耗了我的VPS分配给的所有内存,因此MySQL重新启动。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM