A fatal MySQL error occured.

Query:
SELECT SQL_CALC_FOUND_ROWS l.* FROM pmd_v1_listings l INNER JOIN pmd_v1_listings_categories lc ON l.id=lc.list_id WHERE lc.cat_id=330 AND l.location_id=2 AND l.status='active' ORDER BY priority DESC,title LIMIT 0,20

Error:
(1) Can't create/write to file '/tmp/#sql_6b8b_0.MYI' (Errcode: 122)