SQLSTATE[HY000]: General error: 23 Out of resources when opening file '/tmp/#sql_4ea_1.MYI' (Errcode: 24 - Too many open files), query was: SELECT `main_table`.*, `tdv`.`value` AS `default_value`, `tsv`.`value` AS `store_default_value`, IF(tsv.value_id > 0, tsv.value, tdv.value) AS `value`, `s`.`url_alias`, `s`.`title`, `f`.`disable_seo_url` FROM `eav_attribute_option` AS `main_table`
 INNER JOIN `eav_attribute_option_value` AS `tdv` ON tdv.option_id = main_table.option_id
 LEFT JOIN `eav_attribute_option_value` AS `tsv` ON tsv.option_id = main_table.option_id AND tsv.store_id = '4'
 LEFT JOIN `am_shopby_value` AS `s` ON s.option_id = main_table.option_id
 INNER JOIN `am_shopby_filter` AS `f` ON f.attribute_id = main_table.attribute_id WHERE (tdv.store_id = 0) ORDER BY `sort_order` ASC

#0 /var/www/vhosts/websitestatus.de/mah.de/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /var/www/vhosts/websitestatus.de/mah.de/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /var/www/vhosts/websitestatus.de/mah.de/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `main_ta...', Array)
#4 /var/www/vhosts/websitestatus.de/mah.de/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `main_ta...', Array)
#5 /var/www/vhosts/websitestatus.de/mah.de/lib/Zend/Db/Adapter/Abstract.php(737): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#6 /var/www/vhosts/websitestatus.de/mah.de/app/code/local/Amasty/Shopby/Helper/Attributes.php(250): Zend_Db_Adapter_Abstract->fetchAll(Object(Varien_Db_Select))
#7 /var/www/vhosts/websitestatus.de/mah.de/app/code/local/Amasty/Shopby/Helper/Attributes.php(207): Amasty_Shopby_Helper_Attributes->getAllOptions()
#8 /var/www/vhosts/websitestatus.de/mah.de/app/code/local/Amasty/Shopby/Model/Catalog/Layer/Filter/Attribute.php(157): Amasty_Shopby_Helper_Attributes->getAttributeOptions('besonderheiten_...')
#9 /var/www/vhosts/websitestatus.de/mah.de/app/code/local/Amasty/Shopby/Model/Catalog/Layer/Filter/Attribute.php(140): Amasty_Shopby_Model_Catalog_Layer_Filter_Attribute->addState(Array)
#10 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Mage/Catalog/Block/Layer/Filter/Abstract.php(91): Amasty_Shopby_Model_Catalog_Layer_Filter_Attribute->apply(Object(Mage_Core_Controller_Request_Http), Object(Amasty_Shopby_Block_Catalog_Layer_Filter_Attribute))
#11 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Mage/Catalog/Block/Layer/Filter/Abstract.php(73): Mage_Catalog_Block_Layer_Filter_Abstract->_initFilter()
#12 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Mage/Catalog/Block/Layer/View.php(136): Mage_Catalog_Block_Layer_Filter_Abstract->init()
#13 /var/www/vhosts/websitestatus.de/mah.de/app/code/local/Amasty/Shopby/Block/Catalog/Layer/View.php(444): Mage_Catalog_Block_Layer_View->_prepareLayout()
#14 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Mage/Core/Block/Abstract.php(293): Amasty_Shopby_Block_Catalog_Layer_View->_prepareLayout()
#15 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#16 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('amshopby/catalo...', 'amshopby.navlef...')
#17 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('amshopby/catalo...', 'amshopby.navlef...')
#18 /var/www/vhosts/websitestatus.de/mah.de/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))
#19 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#20 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#21 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Mage/Catalog/controllers/CategoryController.php(148): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#22 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_CategoryController->viewAction()
#23 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#24 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#25 /var/www/vhosts/websitestatus.de/mah.de/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#26 /var/www/vhosts/websitestatus.de/mah.de/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#27 /var/www/vhosts/websitestatus.de/mah.de/index.php(83): Mage::run('mah', 'website')
#28 {main}