« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - Can't open file: './trident_modx/modx_site_content.frm' (errno: 24 - Too many open files) »
      SQL: SELECT DISTINCT sc.id, sc.menutitle, sc.pagetitle, sc.introtext, sc.menuindex, sc.published, sc.hidemenu, sc.parent, sc.isfolder, sc.description, sc.alias, sc.longtitle, sc.type,if(sc.type='reference',sc.content,'') as content, sc.template, sc.link_attributes FROM `trident_modx`.`modx_site_content` sc LEFT JOIN `trident_modx`.`modx_document_groups` dg ON dg.document = sc.id WHERE sc.published=1 AND sc.deleted=0 AND (sc.privateweb=0) AND sc.hidemenu=0 AND (sc.id NOT IN (1,109)) AND sc.id IN (4,3,2,1,34,5,32,74,102,109,112,126,119,120,121,122,123,127,128,129,33,35,47,48,49,50,51,52,53,36,37,38,41,39,46,40,42,100,101,43,44,45,113,114,115,116,117,118,6,12,25,7,125,8,9,10,11,13,14,15,16,17,18,19,20,21,22,23,24,26,27,28,29,30,31,54,67,55,56,57,58,59,60,61,62,63,64,65,66,68,69,70,71,72,73,75,80,93,76,77,78,79,81,82,83,84,85,86,87,88,89,90,91,92,94,95,96,97,98,99,103,104,105,106,107,108,110,111,124) ORDER BY sc.menuindex ASC LIMIT 0, 1000;
      [Copy SQL to ClipBoard]
 
Parser timing
  MySQL: 21.3574 s(0 Requests)
  PHP: 0.0241 s 
  Total: 21.3815 s 
Error while inserting event log into database.