Magento 怪异查询 100% SQL cpu 秒杀
Magento Weird query 100% SQL cpu spike
当前多次生成以下查询存在问题:
SELECT `e`.*, IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) AS `is_a...
无论是什么,它都会导致我的 CPU 飙升到屋顶...
到目前为止,我唯一的解决方案是完全重新启动服务器...
希望有人已经解决了...
运行 Magento 1.9.x 使用 Varnish 4.0 和 Apache。
远离 Magento 1.9,是时候搬家了...
我之前在 Magento 1.9 上看到过这个错误,发现 运行:
php -f shell/indexer.php reindexall
根据 shell 提示修复了该问题。
根本原因似乎与核心 URL 重写功能有关。
当前多次生成以下查询存在问题:
SELECT `e`.*, IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) AS `is_a...
无论是什么,它都会导致我的 CPU 飙升到屋顶...
到目前为止,我唯一的解决方案是完全重新启动服务器...
希望有人已经解决了... 运行 Magento 1.9.x 使用 Varnish 4.0 和 Apache。
远离 Magento 1.9,是时候搬家了...
我之前在 Magento 1.9 上看到过这个错误,发现 运行:
php -f shell/indexer.php reindexall
根据 shell 提示修复了该问题。 根本原因似乎与核心 URL 重写功能有关。