SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.6): Invalid SQL: SELECT bb1_threads.*, if (voted>0 AND voted>=2,votepoints/voted,0) AS vote, bb1_icons.* FROM bb1_threads LEFT JOIN bb1_icons USING (iconid) WHERE bb1_threads.threadid IN (0,185193,188626,188321,176665,138894,154968,186796,167692,171982,168947,167207,176261,185290,68445,132189,57074,172855,162640,188328,185575,38,151721) ORDER BY important DESC, topic ASC, lastposttime DESC
mysql error: Out of resources when opening file './usr_web1_2/bb1_icons.MYD' (Errcode: 24)
mysql error number: 23
mysql version: 5.5.47-0+deb6u1-log
php version: 5.3.3-7+squeeze29
Date: 05.07.2020 @ 15:02
Script: /board.php?boardid=110&page=1&daysprune=1000&sortfield=topic&sortorder=ASC
Referer: