SELECT siteId, arfooo_sites.url, imageSrc, firstGalleryImageSrc, siteTitle, description, arfooo_cachegoogledetails.pageRank, countryCode, votesCount, votesAverage, categoryId, packageId, priority, ADDDATE(creationDate, 365) > NOW() as isNew FROM arfooo_sites INNER JOIN arfooo_cachegoogledetails ON arfooo_cachegoogledetails.url = arfooo_sites.url WHERE status = 'validated' AND EXISTS(SELECT * FROM arfooo_categories WHERE arfooo_categories.categoryId=arfooo_sites.categoryId AND forbidden='0') ORDER BY arfooo_cachegoogledetails.pageRank DESC, siteId DESC LIMIT 20/top-rank.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     22-7-19   23:03
FrontController->dispatch() # line   18, file: /var/www/vhosts/annuaire-ecommerce.com/httpdocs/index.php
  call_user_func_array(Array[2], Array[0]) # line  220, file: /var/www/vhosts/annuaire-ecommerce.com/httpdocs/core/FrontController.php
    SiteController->topRankAction() # line    0, file: unknown
      SiteListModel->getValidatedTopRankSites(false) # line  288, file: /var/www/vhosts/annuaire-ecommerce.com/httpdocs/controllers/SiteController.php
        SiteModel->selectWithNewFlag(Object:Criteria, "siteId, sites.url, imageSrc, firstGalleryImageSrc, siteTitle, de...") # line  136, file: /var/www/vhosts/annuaire-ecommerce.com/httpdocs/models/SiteListModel.php
          Model->findAll(Object:Criteria, "siteId, sites.url, imageSrc, firstGalleryImageSrc, siteTitle, de...", true) # line   24, file: /var/www/vhosts/annuaire-ecommerce.com/httpdocs/models/SiteModel.php
            Database->sqlGetAll("SELECT siteId, arfooo_sites.url, imageSrc, firstGalleryImageSrc,...") # line  140, file: /var/www/vhosts/annuaire-ecommerce.com/httpdocs/core/Model.php
              Database->sqlQuery("SELECT siteId, arfooo_sites.url, imageSrc, firstGalleryImageSrc,...") # line  360, file: /var/www/vhosts/annuaire-ecommerce.com/httpdocs/core/Database.php
                trigger_error("...") # line  235, file: /var/www/vhosts/annuaire-ecommerce.com/httpdocs/core/Database.php