Fatal error: Uncaught Exception: SafeMySQL: Out of resources when opening file '/var/tmp/#sql_76d2_1.MAD' (Errcode: 24). Full query: [SELECT p.id, p.autor, p.date, p.short_story, p.full_story, p.xfields, p.title, p.category, p.alt_name, p.allow_comm, p.comm_num, p.fixed, p.allow_main, p.symbol, p.tags, e.news_read, e.allow_rate, e.rating, e.vote_num, e.votes, e.related_ids, e.view_edit, e.editdate, e.editor, e.reason FROM `vladtime_post` p LEFT JOIN `vladtime_post_extras` e ON (p.id=e.news_id) WHERE approve AND category regexp "[[:<:]](14)[[:>:]]" AND p.date >= "2018-10-19 00:00:00" - INTERVAL 3 DAY AND p.date < "2018-10-19 00:00:00" - INTERVAL 0 DAY ORDER BY fixed DESC, e.news_read DESC LIMIT 1, 8] in /var/www/vhosts/vladtime.ru/httpdocs/engine/modules/base/core/SafeMySQL.php:632 Stack trace: #0 /var/www/vhosts/vladtime.ru/httpdocs/engine/modules/base/core/SafeMySQL.php(492): SafeMySQL->error('SafeMySQL: Out ...') #1 /var/www/vhosts/vladtime.ru/httpdocs/engine/modules/base/core/SafeMySQL.php(291): SafeMySQL->rawQue in /var/www/vhosts/vladtime.ru/httpdocs/engine/modules/base/core/SafeMySQL.php on line 632