SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress, query was: SELECT DISTINCT `e`.`attribute_set_id` FROM `catalog_product_flat_1` AS `e`
 INNER JOIN `catalog_category_product_index` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id=1 AND cat_index.visibility IN(2, 4) AND cat_index.category_id = '4'
 INNER JOIN `catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.website_id = '1' AND price_index.customer_group_id = 0 WHERE (e.status = 1)

#0 /var/www/magento/data/www/300kkm.ru/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/magento/data/www/300kkm.ru/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /var/www/magento/data/www/300kkm.ru/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /var/www/magento/data/www/300kkm.ru/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT DISTINCT...', Array)
#4 /var/www/magento/data/www/300kkm.ru/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT DISTINCT...', Array)
#5 /var/www/magento/data/www/300kkm.ru/lib/Zend/Db/Adapter/Abstract.php(794): Varien_Db_Adapter_Pdo_Mysql->query('SELECT DISTINCT...', Array)
#6 /var/www/magento/data/www/300kkm.ru/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php(1096): Zend_Db_Adapter_Abstract->fetchCol(Object(Varien_Db_Select))
#7 /var/www/magento/data/www/300kkm.ru/app/code/local/Amasty/Shopby/Block/Catalog/Layer/View.php(252): Mage_Catalog_Model_Resource_Product_Collection->getSetIds()
#8 /var/www/magento/data/www/300kkm.ru/app/code/core/Mage/Catalog/Block/Layer/View.php(122): Amasty_Shopby_Block_Catalog_Layer_View->_getFilterableAttributes()
#9 /var/www/magento/data/www/300kkm.ru/app/code/local/Amasty/Shopby/Block/Catalog/Layer/View.php(475): Mage_Catalog_Block_Layer_View->_prepareLayout()
#10 /var/www/magento/data/www/300kkm.ru/app/code/local/Mage/Core/Block/Abstract.php(297): Amasty_Shopby_Block_Catalog_Layer_View->_prepareLayout()
#11 /var/www/magento/data/www/300kkm.ru/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#12 /var/www/magento/data/www/300kkm.ru/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('amshopby/catalo...', 'amshopby.navlef...')
#13 /var/www/magento/data/www/300kkm.ru/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('amshopby/catalo...', 'amshopby.navlef...')
#14 /var/www/magento/data/www/300kkm.ru/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#15 /var/www/magento/data/www/300kkm.ru/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#16 /var/www/magento/data/www/300kkm.ru/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#17 /var/www/magento/data/www/300kkm.ru/app/code/core/Mage/Catalog/controllers/CategoryController.php(148): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#18 /var/www/magento/data/www/300kkm.ru/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_CategoryController->viewAction()
#19 /var/www/magento/data/www/300kkm.ru/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#20 /var/www/magento/data/www/300kkm.ru/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#21 /var/www/magento/data/www/300kkm.ru/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#22 /var/www/magento/data/www/300kkm.ru/app/Mage.php(686): Mage_Core_Model_App->run(Array)
#23 /var/www/magento/data/www/300kkm.ru/index.php(84): Mage::run('', 'store')
#24 {main}