…пУТИН — убийца, бандит и продукт КГБ

Magento

Compilation

php -f shell/compiler.php -- disable
php -f shell/compiler.php -- clear

Clear cache

<?php
require_once 'app/Mage.php';
$app = Mage::app();
if ($app != null) {
    $cache = $app->getCache();
    if ($cache != null) {
        $cache->clean();
    }
}
php -f shell/log.php status php -f shell/log.php status
-----------------------------------+------------+------------+------------+
Table Name                         | Rows       | Data Size  | Index Size |
-----------------------------------+------------+------------+------------+
log_customer                       | 600        | 65.54Kb    | 16.38Kb    |
log_visitor                        | 6          | 16.38Kb    | 0 b        |
log_visitor_info                   | 6          | 16.38Kb    | 0 b        |
log_url                            | 6          | 16.38Kb    | 32.77Kb    |
log_url_info                       | 6          | 16.38Kb    | 0 b        |
log_quote                          | 0          | 16.38Kb    | 0 b        |
report_viewed_product_index        | 179.76K    | 7.88Mb     | 27.87Mb    |
report_compared_product_index      | 0          | 16.38Kb    | 81.92Kb    |
report_event                       | 4.13M      | 363.76Mb   | 784.76Mb   |
catalog_compare_item               | 0          | 16.38Kb    | 81.92Kb    |
-----------------------------------+------------+------------+------------+
Total                              | 4.31M      | 371.82Mb   | 812.84Mb   |
-----------------------------------+------------+------------+------------+
SELECT * FROM `report_event` where event_type_id=1 AND logged_at < '2018-02-01'

Magento issues with totals calculation for php7

https://github.com/hartmut-co-uk/magento-php7-totals-fix

LiteMage

https://example.com/?LITEMAGE_DEBUG=SHOWHOLES
https://example.com/?LITEMAGE_DEBUG=NOCACHE

Check LSWS license
/usr/local/lsws/bin/lshttpd -t