SELECT SQL_CALC_FOUND_ROWS *, categoryId, packageId, priority, ADDDATE(creationDate, 30) > NOW() as isNew FROM Arfooo_sites INNER JOIN Arfooo_categoryparents ON Arfooo_categoryparents.childId = Arfooo_sites.categoryId WHERE status = 'validated' AND EXISTS(SELECT * FROM Arfooo_categories WHERE Arfooo_categories.categoryId=Arfooo_sites.categoryId AND forbidden='0') AND ((MATCH (siteTitle, description) AGAINST ('+referencement +annuaire +en' IN BOOLEAN MODE) AND siteTitle LIKE '%en%' AND description LIKE '%en%' OR LOCATE( 'referencement annuaire en', url ) > 0 )) AND Arfooo_categoryparents.parentId = '0' ORDER BY Arfooo_sites.priority DESC, referrerTimes DESC LIMIT 10 OFFSET 0/tag-referencement-annuaire-en-t167-p1.html
  (1024) Błąd SQL Out of resources when opening file '/tmp/#sql_3d2_0.MAI' (Errcode: 24 "Too many open files") (23)   Database.php   line 235     24-7-19   0:19
FrontController->dispatch() # line   18, file: /var/www/vhosts/annuaire-referencement.pro/httpdocs/index.php
  call_user_func_array(Array[2], Array[3]) # line  220, file: /var/www/vhosts/annuaire-referencement.pro/httpdocs/core/FrontController.php
    SiteController->tagAction("167", "referencement-annuaire-en", "1") # line    0, file: unknown
      SiteSearcherModel->searchValidated(Array[1], "1") # line  476, file: /var/www/vhosts/annuaire-referencement.pro/httpdocs/controllers/SiteController.php
        SiteModel->selectWithNewFlag(Object:Criteria) # line  118, file: /var/www/vhosts/annuaire-referencement.pro/httpdocs/models/SiteSearcherModel.php
          Model->findAll(Object:Criteria, "*, categoryId, packageId, priority, ADDDATE(creationDate, 30) > ...", true) # line   24, file: /var/www/vhosts/annuaire-referencement.pro/httpdocs/models/SiteModel.php
            Database->sqlGetAll("SELECT SQL_CALC_FOUND_ROWS *, categoryId, packageId, priority, A...") # line  140, file: /var/www/vhosts/annuaire-referencement.pro/httpdocs/core/Model.php
              Database->sqlQuery("SELECT SQL_CALC_FOUND_ROWS *, categoryId, packageId, priority, A...") # line  360, file: /var/www/vhosts/annuaire-referencement.pro/httpdocs/core/Database.php
                trigger_error("...") # line  235, file: /var/www/vhosts/annuaire-referencement.pro/httpdocs/core/Database.php