23 - Out of resources when opening file './puppendiscount/personal_offers_by_customers_status_1.MYD' (Errcode: 24 - Too many open files)

SELECT max(quantity) as qty FROM personal_offers_by_customers_status_1 WHERE products_id='8041' AND quantity<='1'

[XT SQL Error]

23 - Out of resources when opening file './puppendiscount/sessions.MYD' (Errcode: 24 - Too many open files)

select count(*) as total from sessions where sesskey = '0m323hgsf3l78vig62geleuf87'

[XT SQL Error]